idea IntelliJ IDEA 消除各種 警告 提示


1、Method/Class “XXX” is never used
步驟
File–>Settings–>Editor–>Inspections–>Java–>Declaration redundancy–>取消勾選Unused declaration

 

 

 

 

 

2、Typo-In word “” more…(Ctrl+F1) 拼寫檢查(這個不太建議消除,單詞拼錯影響閱讀)
步驟
File–>Settings–>Editor–>Inspections–>Spelling–>取消勾選Typo

 

 

 

 

 

3、access can be package-private
步驟
File–>Settings–>Editor–>Inspections–>Java–>Declaration redundancy–>取消勾選Declaration access can be weaker

 

 

 4、取消顯示形參名提示
步驟
File–>Settings–>Editor–>General–>Appearance–>取消勾選Show parameter name hints

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM