Search code examples
eclipsecolorssyntax-highlighting

Eclipse syntax colors for HTML files


I'm using eclipse for a few months, I realy like gvim better but eclipse makes my life easier with pydev and phpeclipse. Everything is pretty nice, I have a black fluxbox and black GTK themes, I've changed the syntax colors for py and php and now everything is dark background, light foreground (including the eclipse menu/borders/etc), very nice.

But.. I can't find a way to change the syntax colors for html files. It's really bad, occasionally I will want to open a html file in eclipse and standard text is black (same as my background). I've changed every background-related color setting I could find but the html editor's colors don't change. Am I missing something? Does anyone know how to change this?


Solution

  • You need to install the WTP plugin to add all that HTML/JS/CSS support.

    I would also recommend using the PDT plugin for all your PHP needs.

    After installing these plugins.. you should be able to access their properties in Window>Preferences...

    Hope this helps :)