Eclipse 拼写检查器 - 如何删除添加的单词?
我不小心在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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).
正如 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...