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