永远关闭 Eclipse 中的拼写检查

每次在 Eclipse 中创建新的工作区时,我都必须通过首选项关闭拼写检查。(参数-> 常规-> 编辑器-> 文本编辑器-> 拼写-> 启用拼写检查)

这太让人恼火了。我怎样才能永远关闭拼写检查呢?也就是说,当我创建一个新的工作区时,拼写检查器是禁用的,如果我想要使用它,我可以打开它。

50561 次浏览

It's not a perfect fix, but you can copy existing workspace preferences into any workspace. I keep a separate .epf (Eclipse preferences file, I guess) that I just import into every new workspace I create:

File → Import... → General → Preferences → Next > From preference file

screenshot

Related

There are some ways for sharing preferences, but it doesn't come with the platform. The one I use is now available as an attachment to https://bugs.eclipse.org/bugs/show_bug.cgi?id=334016 or more particular as attachment https://bugs.eclipse.org/bugs/attachment.cgi?id=196866

Install into your Eclipse. Then you can export selected preferences to an .epf file. Also add a preference (!) in Preferences > General > Common Preferences which will share your settings across newly created workspaces.

I use this all the time and though it is not perfect, it does save a lot of effort in keeping my preferences aligned across workspaces.

Preferences->General->Editors->Text Editors->Spelling Uncheck the box "Enable spell checking"

If you are writing Java code, Window -> Preferences -> Java -> JDT Spelling