刚开始用idea软件,对于刚使用软件的我发现一个问题,敲代码的时候,变量命名的时候经常出现波浪号(如下图),对于强迫症来说,这是无法接受的。
idea软件:spellchecker inspection helps locate typos and misspelled in your code,comments and literals问
于是查询得到解决方法!
解决方法1:讲字符串添加进字典
idea软件:spellchecker inspection helps locate typos and misspelled in your code,comments and literals问

解决方法2:禁用IDEA中的单词拼写检查
idea软件:spellchecker inspection helps locate typos and misspelled in your code,comments and literals问
idea软件:spellchecker inspection helps locate typos and misspelled in your code,comments and literals问
idea软件:spellchecker inspection helps locate typos and misspelled in your code,comments and literals问
其实,我们从提示就可以看懂了:spellchecker inspection helps locate typos and misspelled in your code,comments and literals, and fix them in one click.意思就是你可以点击修复拼写检查器检查出来的拼写错误。

相关文章: