Eclipse Mars中没有Gradle文件语法突出显示 [英] No Gradle file syntax highlighting in Eclipse Mars.2
问题描述
想知道有没有人遇到同样的问题,我在Eclipse(版本:Mars.2 Release(4.5.2))中打开毕业文件,没有关于毕业生语法的亮点。我安装摇篮插件为Eclipse从
发布我的节目查看屏幕快照
刚刚在Eclipse 4.4.2中尝试:没有语法突出显示。也许你有
打开 .gradle
文件使用另一种类型的编辑器,右键单击该文件并选择打开方式:
我建议不要使用多个Gradle插件,因为您可能会因为什么插件而感到困惑。你应该坚持最适合你的。
Wondering if anyone else met with the same issue, I open gradle file in Eclipse (Version: Mars.2 Release (4.5.2)), there is no highlights for gradle syntax. I install Gradle plug-in for Eclipse from http://projects.eclipse.org/projects/tools.buildship/downloads.
I tried the same plug-in in Eclipse 4.4.1, but no such issues. Any advice is appreciated.
It seems I have installed a few Gradle plug-in. Post my screen snapshots.
Post my show view screen snapshots,
Just tried in Eclipse 4.4.2: No syntax highlighting. Maybe you have the Gradle IDE Pack by Nodeclipse/Enide installed in your 4.4.1?
Update: So I just saw you have both buildship and the Gradle IDE Pack installed. This will install multiple editors for .gradle
files:
- "Gradle Build Script Editor" (buildship, on the left)
- "Minimalist Gradle Editor" (Gradle IDE Pack, on the right)
To open a .gradle
file with another type of editor, right-click the file and select "Open With":
I advise against using multiple Gradle plugins, as you can get confused by which plugin does what. You should stick with the one that suits you best.
这篇关于Eclipse Mars中没有Gradle文件语法突出显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!