在Eclipse中:更改单个文件的语法突出显示 [英] In Eclipse: Change the syntax highlighting for an individual file

查看:53
本文介绍了在Eclipse中:更改单个文件的语法突出显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以改变Eclipse中一个特定文件的语法高亮显示吗?

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

我来自Notepad ++世界,您可以从下拉菜单中选择文件的语言,它将相应地突出显示.我正在寻找这种类型的功能.

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.

请和谢谢!

JB Jansen的答案非常有效!谢谢!

推荐答案

您可以选择对给定文件使用哪种文本编辑器.右键单击文件->打开方式->其他编辑器,然后选择所需的文件.

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.

这篇关于在Eclipse中:更改单个文件的语法突出显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆