差異處
這裏顯示兩個版本的差異處。
下次修改 | 前次修改 | ||
java:sonarlint:eclipse_hellow_world [2020/07/25 18:53] tony 建立 |
java:sonarlint:eclipse_hellow_world [2020/08/02 15:15] tony |
||
---|---|---|---|
行 1: | 行 1: | ||
{{tag>SonarLint}} | {{tag>SonarLint}} | ||
- | ====== SonarLint - Eclipse HelloWorld ====== | + | ====== SonarLint | Eclipse HelloWorld ====== |
===== Introduction ===== | ===== Introduction ===== | ||
本篇文章分享SonarLint的基本使用方法。 | 本篇文章分享SonarLint的基本使用方法。 | ||
行 16: | 行 16: | ||
{{:java:sonarlint:sonarqube-category.png|}}\\ | {{:java:sonarlint:sonarqube-category.png|}}\\ | ||
\\ | \\ | ||
- | 假如看不到SonarLint Report,可以在Window > Show View > Other中,搜尋SonarLint看看。 | + | 嚴重程度Blocker > Critical > Major > Minor > Info。假如看不到SonarLint Report,可以在Window > Show View > Other中,搜尋SonarLint看看。 |
===== Fix Issues ===== | ===== Fix Issues ===== | ||
在SonarLint Report中點擊issue後,它會連結到對應的source code,有問題的地方會標上藍色底線;將滑鼠移至有問題的地方後,它會提供修正問題的方式或直接取消這條規則:\\ | 在SonarLint Report中點擊issue後,它會連結到對應的source code,有問題的地方會標上藍色底線;將滑鼠移至有問題的地方後,它會提供修正問題的方式或直接取消這條規則:\\ |