解决author波浪线Spellchecker inspection helps locate typos and misspelling in your code, comments and literals, and fix them in one click

自从把默认的头注释的author改成自己的名字以后越看越顺眼,但是发现名字下面一直有个波浪线,强迫症简直不能忍。

然后当你把鼠标放上去,再点击提示上的“more”,会看到下面的提示:

Spellchecker inspection helps locate typos and misspelling in your code, comments and literals, and fix them in one click

翻译过来就是:拼写检查器检查可以帮助查找拼写错误拼写错误代码、 注释文本 修复它们一次点击

其实就是idea有单词自动检查的功能,而你这个名字又不是一个单词,所有给个波浪线提示你,我们要做的就是把它加到词典里边去,让idea知道我已经把它当成一个单词了,不要在提示了。

鼠标选中单词-->点击鼠标右键-->spelling-->save 'xxx' to distionary

 

波浪线终于干掉了,强迫症可以安心地继续敲代码了。

 

 

参考博客地址:http://blog.csdn.net/miyuehu/article/details/44154963

posted @ 2017-12-17 10:22  gosin1994  阅读(55285)  评论(0编辑  收藏  举报