从 IntelliJ 中的功能文件中删除下划线

Remove underlines from feature files in IntelliJ

如何在 IntelliJ 中删除特征文件中的下划线,指示拼写错误?

注意,我说的不是带下划线的变量,而是不是用英语编写的 Cucumber .feature 文件。

您需要将它们添加到 .idea/dictionaries

示例:

<component name="ProjectDictionaryState">
<dictionary name="yourName">
<words>
<w>yourWord</w>
</words>
</dictionary>
</component>

您必须有插件:'Substeps IntelliJ Plugin';安装在你的intellij中。从首选项的智能中卸载或禁用此插件。并且只保留插件:'cucumber for java'。