如上圖,輸入一個單詞時會出現波浪線,報:Spellchecker inspection helps locate typos and misspelling in your code, comments and literals, and fix them in one click.
翻譯:拼寫檢查器檢查可以幫助查找拼寫錯誤和拼寫錯誤在您的代碼、注釋和文本、 並修復它們中一次點擊。
解決辦法:
選中這個單詞,右鍵“Spelling”->“Save ‘miyuehu’ to dictionary...”(單詞保存字典中)
結果:單詞不會出現波浪線了,參考原文《android studio對於錯誤拼寫/不識別的英文單詞,給予波浪提示。》