單詞底部有波浪線,提示typo in word時(shí)
原因:?jiǎn)卧~拼寫檢查功能,說明當(dāng)前拼寫有問題,
解決方式:按照駝峰命名法,重新命名即可
提示:spellchecker inspection helps locate typos and misspelled in your code,comments and literals, and fix them in one click.
File----Settings,搜索inspec,把Spelling typo勾選去掉(禁用單詞拼寫檢查)
選中單詞,單擊鼠標(biāo)右鍵Change to..Save ‘miyuehu’ to dictionary...不就是保存到詞典的意思嚒。。。果斷點(diǎn)了。在看看,波浪消失了
代碼下邊會(huì)有波浪線的顯示;但是該代碼語句確實(shí)沒有錯(cuò)誤 選擇Editur—Color Scheme—General選項(xiàng),
然后選擇右邊對(duì)話框中的Errors and Warnings選項(xiàng),選擇選項(xiàng)下方的weak Waring,然后將界面右邊的Effects去掉勾選即可