解決author波浪線Spellchecker inspection helps locate typos and misspelling in your code, comments and literals, and fix them in one click
阿新 • • 發佈:2017-12-17
博客 翻譯 cli 修復 and idea tro alt 拼寫檢查
自從把默認的頭註釋的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
解決author波浪線Spellchecker inspection helps locate typos and misspelling in your code, comments and literals, and fix them in one click