如何在eclipse中创建一个用户字典? [英] How to create a user dictionary in eclipse?

查看:1565
本文介绍了如何在eclipse中创建一个用户字典?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用eclipse并在javadoc中看到我的名字作为作者时,我还发现拼写检查器标记我的名字,因为它不明白它是一个正确的名称。因此,我可以选择:

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 the option of:

将{word}添加到字典

但是当我点击它,它说用户字典丢失,并询问我是否要创建一个新的。当我说是的时候,它只显示一个空白用户字典字段的拼写检查偏好,我可以选择只添加一个现有的用户字典,没有选项创建一个新的。

but when I click on it, It says the user dictionary is missing and asks if I would like to create a new one. When I say yes, it just shows the spell checking preferences with a blank user dictionary field where I have the option to only add an existing user dictionary and no option to create a new one.

如何创建用户字典,以便我可以将其配置为在eclipse中使用?

How do I create the user dictionary so that I can configure it for use in eclipse?

推荐答案

是的,你可以。

在计算机上的目录中创建一个文本(.txt)文件。您的eclipse工作区可能是适当的。在每行文本上添加一个新单词。你不必记住每个单词,这是帮助选项,当你输入拼写错误/一个词eclipse不知道。

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. It should now work.

您也可以在拼写菜单中输入用户定义的字典旁边的文本框,了解您想要的路径文件是,它不必存在。但是如果你想这样做,你必须熟悉路径。

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.

这篇关于如何在eclipse中创建一个用户字典?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆