Eclipse 拼写检查器 - 如何删除添加的单词?

发布于 2024-08-03 18:02:55 字数 58 浏览 2 评论 0原文

我不小心在 Eclipse 的拼写检查词典中添加了一个我一直拼写错误的单词。我怎样才能把它再次取出来?

I accidentally added a word I'm forever mis-spelling into Eclipse's spell-checker dictionary. How do I get it back out again?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

恍梦境° 2024-08-10 18:02:55

Eclipse 将您添加的单词放入文本文件中,即用户定义的字典

您可以在Window -> > 找到该文件的位置。首选项->一般->编辑->文本编辑器 ->拼写 ->用户定义的字典

我相信它不是默认设置的 - 第一次使用添加到字典功能时,它会询问用户字典位置。

在文本编辑器中打开文件并删除不需要的单词。您可能需要重新启动 Eclipse,然后它才能再次识别出拼写错误的单词(即在它重新读取用户词典文件之前)。

Eclipse puts the words you add into a text file, AKA the User defined dictionary.

You can find the location of this file at Window -> Preferences -> General -> Editors -> Text Editors -> Spelling -> User defined dictionary.

I believe that it's not set up by default - the first time you use the Add to dictionary feature it asks for the user dictionary location.

Open up the file in a text editor and remove the word you don't want. You'll probably need to restart Eclipse before it recognises the word as misspelled again (i.e. before it will re-read the user dictionary file).

不美如何 2024-08-10 18:02:55

正如 bug 51445 中提到的,用户定义的字典是任何文本文件,默认情况下带有“.dic”扩展名(但如果您愿意,可以使用任何扩展名或不使用扩展名)。

帮助页面帮助您找到该文件。

替代文本 http:// help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.user/images/ref-spellingpref.png

bug 111265(评论2),你需要重新启动eclipse...

As mentioned in bug 51445, the user defined dictionary is any text file, by default with a '.dic' extension (but you can use any or no extension if you like).

The help page help you to locate that file.

alt text http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.user/images/ref-spellingpref.png

As mentioned in bug 111265 (comment 2), you need to relaunch eclipse...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文