Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 952
BillPull Avatar asked Mar 29 '11 18:03

BillPull


People also ask

Does Eclipse have syntax highlighting?

The color and font settings can be configured from the Syntax Coloring preferences page, accessed from Window | Preferences | PHP | Editor | Syntax Coloring. Note: Syntax Coloring will also be available for JavaScript elements if JavaScript support was enabled for the project.

Does Eclipse support HTML and CSS?

Eclipse Web Developer ToolsIncludes the HTML, CSS, and JSON Editors, and JavaScript Development Tools from the Eclipse Web Tools Platform project, aimed at supporting client-side web development and node. js applications.

How do I turn off syntax highlighting in Eclipse?

Select Window->Preferences->C/C++->Scalability->Disable syntax coloring in editor.


1 Answers

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.

like image 148
Gilbert Le Blanc Avatar answered Sep 23 '22 12:09

Gilbert Le Blanc