Proper syntax highlighting with Eclipse + WDT + Javascript 1.7+

Is it possible for the Eclipse-Javascript-Editor to recognize the Mozillas JS 1.7 construct and correctly syntax highlighting?

Examples:

  • "let", "for each", "yield" are not allocated.
  • E4X support not supported

I use the updated Helios + WDT-Plugin, and I can not choose a different validator than ECMAScript3.

I tried to find some information on eclipse.org, a plan or something else, but this site always drives me crazy. Oh, my...

+4
source share
1 answer

In the IDE, right-click the file and select "Open With JavaScript Editor." The IDE should use the syntax highlighting set by the IDE.

If you simply open the file or open it with a text editor, the workspace does not support syntax and does not use color coding.

-1
source

All Articles