How to create a user dictionary in eclipse?

后端 未结 4 1319
梦谈多话
梦谈多话 2021-02-03 17:31

When I use eclipse and see my name in the javadocs as the author, I also find the spellchecker marking my name as it does not understand that it is a proper name. Thus, I get th

4条回答
  •  终归单人心
    2021-02-03 18:01

    Yes, you can.

    Create a text (.txt) file in a directory on your computer. Your eclipse workspace may be appropriate. Add a new word on each line of text. You don't have to remember every word, that's what the help option is for, when you type a misspelling/a word eclipse doesn't know.

    Go to Window → Preferences → General → Editors → Text Editors → Spelling and find the User defined dictionary section. To the right of that is a button called "Browse" click it, navigate to your text file, and choose it. You'll need to restart Eclipse in order for the changes to take effect.

    You can also just type in the text box next to "User defined dictionary" in the Spelling Menu the path to where you want the file to be, it doesn't have to exist. But you must be familiar with paths if you want to do this.

提交回复
热议问题