Jon Schwartz
Jon Schwartz

Reputation: 168

In Eclipse: Change the syntax highlighting for an individual file

Is there any way to change the syntax highlighting of one particular file in Eclipse?

I'm coming from the Notepad++ world where you can just select the language of the file from the drop down and it will highlight accordingly. I'm looking for that type of functionality.

Please and Thanks!

edit: JB Jansen's answer worked perfectly! Thanks!

Upvotes: 12

Views: 4875

Answers (1)

Jean-Bernard Jansen
Jean-Bernard Jansen

Reputation: 7870

You can choose what text editor to use with a given file. Right click on the file -> Open with -> Other editor, then choose the one you want.

Unfortunately, it depends on the quality of this editor.

Upvotes: 11

Related Questions