In Eclipse: Change the syntax highlighting for an individual file

白昼怎懂夜的黑 提交于 2021-01-26 20:33:39

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/4225989/in-eclipse-change-the-syntax-highlighting-for-an-individual-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!