简体   繁体   English

在Eclipse Kepler上安装了Nodeclipse,无法关闭Java拼写检查

[英]Installed Nodeclipse on Eclipse Kepler, cannot turn off Java spell check

I added Nodeclipse "Enide Studio 2014" plugins to the same Workspace as my Java projects (I usually don't do that). 我将Nodeclipse“Enide Studio 2014”插件添加到与我的Java项目相同的Workspace中(我通常不这样做)。

My Node Perspective worked great, I created a new Node project and it all worked great. 我的Node Perspective工作得很好,我创建了一个新的Node项目,它都运行得很好。

Then I went back to my Java Perspective and noticed that all of my Java projects had spell check enabled - the annotations "sp" were on the left margin for mundane names for variables all over the place. 然后我回到我的Java Perspective并注意到我的所有Java项目都启用了拼写检查 - 注释“sp”位于左边缘,用于遍布整个变量的普通名称。

I made sure spell check was disabled globally (Window - Preferences - General - Editors - Text Editors - Spelling). 我确保全局禁用拼写检查(窗口 - 首选项 - 常规 - 编辑器 - 文本编辑器 - 拼写)。 Not enabled. 未启用。 But still there in all my Java projects. 但仍然存在于我的所有Java项目中。 How to turn (back) off without uninstalling Nodeclipse? 如何在不卸载Nodeclipse的情况下关闭(后退)?

First, you are adding plugins into Eclipse instance not workspace. 首先,您要将插件添加到Eclipse实例而非工作空间中。
You can open workspace with different Eclipses, 你可以用不同的日食打开工作区,
and use the same Eclipse to open several workspaces in the same time. 并使用相同的Eclipse同时打开多个工作区。

Nodeclipse "Enide Studio 2014" comes with JDT-spelling , that checks for words inside Java names using conventions , see #30 Nodeclipse“Enide Studio 2014”附带JDT拼写 ,使用约定检查Java名称中的单词,请参阅#30

To disable or configure go to 要禁用或配置转到

Window -> Preferences -> Java -> JDT Spelling 窗口 - >首选项 - > Java - > JDT拼写

(or just search for "spell" in Preferences Dialog) (或者只是在“偏好设置”对话框中搜索“拼写”)

If you update to the latest JDT-Spelling you can disable the whole plugin in the preferences 如果您更新到最新的JDT-Spelling,则可以在首选项中禁用整个插件

Window -> Preferences -> Java -> JDT Spelling 窗口 - >首选项 - > Java - > JDT拼写

Or maybe better still, if this is not a feature you want just uninstall the JDT-Spelling plugin from your eclipse installation. 或者更好的是,如果这不是你想要的功能,只需从你的eclipse安装中卸载JDT-Spelling插件。

Eclipse's spelling support is a different service (and internal so difficult to extend) so disabling it has no effect on the JDT Spelling. Eclipse的拼写支持是一种不同的服务(内部很难扩展),因此禁用它对JDT Spelling没有影响。 If you just disabling the markers it will still be doing all that work to spellcheck your java names but you wont get any benefit from it. 如果您只是禁用标记,它仍将完成所有工作以拼写您的Java名称,但您不会从中获得任何好处。

While spell checking was disabled globally, in order to fully turn off spell checking, I had to disable the Java Spelling Marker in Annotations. 虽然全局禁用了拼写检查,但为了完全关闭拼写检查,我必须在Annotations中禁用Java Spelling Marker。 Yowsie. Yowsie。 Right here, do this: 就在这里,这样做:

Window - Preferences - General - Editors - Text Editors - Annotations 窗口 - 首选项 - 常规 - 编辑器 - 文本编辑器 - 注释

Then on the right side, scroll down to Java Spelling Marker, then on the right of that, uncheck all of these: 然后在右侧,向下滚动到Java Spelling Marker,然后在右侧,取消选中所有这些:

  • Vertical ruler 垂直标尺
  • Overview ruler 统治者概述
  • Text as 文字为

Gone - no more annotations of spelling "errors" from all those variable names in Eclipse/Java. 已经过去了 - 没有更多注释来自Eclipse / Java中所有变量名称的拼写“错误”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM