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

时间:2021-07-21 17:28:27

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

我不小心在Eclipse的拼写检查词典中添加了一个永远拼写错误的单词。我怎么把它弄出来?

2 个解决方案

#1


18  

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

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

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

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

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.

我相信它不是默认设置的——这是您第一次使用Add to dictionary功能时,它要求用户字典位置。

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).

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

#2


2  

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).

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

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

alt文本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...

正如在bug 111265中提到的(注释2),您需要重新启动eclipse……

#1


18  

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

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

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

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

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.

我相信它不是默认设置的——这是您第一次使用Add to dictionary功能时,它要求用户字典位置。

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).

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

#2


2  

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).

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

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

alt文本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...

正如在bug 111265中提到的(注释2),您需要重新启动eclipse……