其他分享
首页 > 其他分享> > idea IntelliJ IDEA 消除各种 警告 提示

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

 

标签:IntelliJ,Settings,idea,IDEA,勾选,Editor,File,Declaration,Inspections
来源: https://www.cnblogs.com/Denny_Yang/p/15369154.html