SonarLint is an IDE extension that helps you detect and fix quality issues as you write code.
Like a spell checker, SonarLint squiggles flaws so that they can be fixed before committing code.
sonar是一款代码质量管理工具,sonar有两种使用方式:插件和客户端。
插件安装
可以查看官网sonar.https://www.sonarlint.org/
sonar的插件名称为sonarlint.
使用idea插件直接搜索按照:选择file→settings→plugins→输入sonarlint