Search code examples
pythonhtmleclipsesyntaxcheetah

HTML/CSS/JS Syntax Highlighting in Eclipse


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.


Solution

  • 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.