Eclipse:我的一个文件的语法突出显示消失了 [英] Eclipse: syntax highlighting disappeared for one of my files

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

问题描述

我试图在Eclipse中关闭未使用的文件,意外地出错了。现在我看不到我的一个文件的语法高亮。
这是两个屏幕截图 - 首先可以看到文件,突出显示被破坏,第二个一切都很好:

I was trying to close unused files in Eclipse and accidentally made something wrong. Now I can't see syntax highlighting for one of my files. Here are two screenshots - on the first you can see file, where highlighting is broken, and on the second everything is fine:

突出显示不适用于此文件。扩展这个文件是正确的。我试图仔细查看所有的菜单按钮,但是这个尝试失败了,我想Eclipse对于新手来说是很难的。当然,我试图在网上找到信息,但是无法得到任何相对的信息。

Highlighting doesn't work for this file only. Extension of this file is correct. I tried to look through all menu buttons carefully, but this attempt failed, I suppose Eclipse is hard enough for newbie. Of course, I tried to find information in the Web, but couldn't get anything relative.

推荐答案

我想你用文本编辑器不小心打开了文件。请参阅下面的截图。

I guess you accidentally opened the file with the 'Text Editor'. Refer screenshot below.

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

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