Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 833
Jon Schwartz Avatar asked Nov 19 '10 14:11

Jon Schwartz


1 Answers

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.

like image 162
Jean-Bernard Jansen Avatar answered Oct 07 '22 18:10

Jean-Bernard Jansen