解决idea编辑器中波浪下划线问题
2021-05-27 本文已影响0人
浅_若清风
有时候我们在编辑代码时,经常会出现带波浪下划线的字符,报错提示:Spellchecker inspection helps locate typos and misspelling in your code, comments and literals, and fix them in one click.
img_1.png
这是因为idea 在项目级词库中没有检索到这个单词。点击左边提示,选择Save ‘xxx’ to project-level dictionay,将单词保存到项目级词典,下划线消失。
img_2.png
![](https://img.haomeiwen.com/i7465299/88bd9d07ce7acc10.png)
这是因为idea 在项目级词库中没有检索到这个单词。点击左边提示,选择Save ‘xxx’ to project-level dictionay,将单词保存到项目级词典,下划线消失。
![](https://img.haomeiwen.com/i7465299/f62fa82aace8e952.png)