HTML/CSS/JS Syntax Highlighting in Eclipse

BillPull picture BillPull · Mar 29, 2011 · Viewed 8.3k times · Source

Hello How can I enable syntax highlighting for HTML/CSS/JS in Eclipse I am mainly developing in python using the PyDev package but right now I am creating Cheetah templates and they are very hard to read unhighlighted.

Any plugin/package suggestions related to Cheetah or just highlighting any file as html would be greatly appreciated.

thank you.

Answer

Gilbert Le Blanc picture Gilbert Le Blanc · Mar 29, 2011

Can I somehow trick Eclipse into treating .tmpl files as if they were .html?

It's not a trick.

Under Windows -> Preferences, General -> Editors -> File Associations, you can associate *.tmpl files with your HTML editor.