如何在 Eclipse 中启用拼写检查?

2022-01-16 00:00:00 spell-checking eclipse-plugin eclipse

有没有办法在 Eclipse 中启用代码拼写检查?我经常拼错单词.

Is there any way to enable code spell checking in Eclipse? I misspell words fairly often.

例如:void spllmstake() => void spellmistake()

推荐答案

我找到了一个拼写检查器并证明了它(用你的例子),它似乎工作.执行以下步骤:

I have found a spell checker and proved it (with your example), and it seems to work. Do the following steps:

  • 下载 espell checker 为 压缩文件
  • 拨打帮助>安装新软件 >添加...>存档...
  • 插入 zip 文件的路径和文件名.
  • 重启后正常安装
  • 转到窗口>偏好>拼写 >AspectJ、Java、...
  • 确保选择了Check Names.

在您的示例中,单词 spllmstake 被标记为错误,spellmistake 也是如此.spellMistake(比如两个字)效果很好.

In your example, the word spllmstake is marked as wrong, as is spellmistake. spellMistake (like two words) works well.

相关文章