想知道是否有其他人遇到同样的问题,我在Eclipse中打开gradle文件(Version:Mars.2 Release(4.5.2)),没有gradle语法的亮点。 我安装摇篮插件为Eclipse从http://projects.eclipse.org/projects/tools.buildship/downloads 。
我想同样的插件在Eclipse 4.4.1,但没有这样的问题。 任何建议表示赞赏。
看来我已经安装了几个摇篮插件。 发表我的屏幕快照。
发表我的节目查看屏幕快照,
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,
最满意答案
只是试图在Eclipse 4.4.2:没有语法高亮。 也许你有摇篮IDE包由Nodeclipse / Enide安装在您的4.4.1?
更新:所以我刚才看到你有两个 buildship并安装了摇篮IDE包。 这将安装多个编辑.gradle文件:
“摇篮构建脚本编辑器”(buildship,左侧) “极简摇篮编辑器”(摇篮IDE包,右边)
要打开.gradle与其他编辑器类型的文件,右键单击该文件,选择“打开方式”:
我建议不要使用多重摇篮插件,你可以感到困惑通过插件做了什么。 你应该是最适合你的计划行事。
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.
更多推荐
发布评论