did you try going to window>preferences, select "javascript>editor>syntax coloring" from the list on the left. and see if the colors are set to your liking. also check what you project is set as. maybe it is interpreted as another language.

hope this helps.


the solution here worked for me. i did not use the plugin - i followed the "alternative" instructions:

choose "help | install new software" from the eclipse menu. select the following in the "work with" drop down:

juno -

scroll to the bottom to the "web, xml, java ee and osgi enterprise development" section.


  • eclipse web developer tools
  • javascript developer tools
  • web page

Related Query

More Query from same tag