差異處
這裏顯示兩個版本的差異處。
java:sonarlint:eclipse_filter_configs:sortorgroup_by_severity [2020/08/02 15:15] tony |
java:sonarlint:eclipse_filter_configs:sortorgroup_by_severity [2023/06/25 09:48] |
||
---|---|---|---|
行 1: | 行 1: | ||
- | {{tag>SonarLint}} | + | |
- | ====== SonarLint | How to sort or group issues by severity? ====== | + | |
- | ===== Problem ===== | + | |
- | 人的時間有限,在面對海量的issues時,issue severity(嚴重度)是讓你取捨的要素之一。本篇文章分享如何去挑較嚴重的issue出來。 | + | |
- | ===== How to? ===== | + | |
- | ==== Sort by description ==== | + | |
- | 最簡單的第一個方法就是直接點擊description欄位,讓它直接根據嚴重度去排序:\\ | + | |
- | {{:java:sonarlint:eclipse_filter_configs:sonarlint_sort_by_desc.png|}} | + | |
- | ==== Group by severity ==== | + | |
- | 第二個方法要在SonarLint On-The-Fly View中使用。假如你這個View沒被打開,可以到Window > Show View中找尋。只有在這個View中,你才能夠使用Group by severty:\\ | + | |
- | {{:java:sonarlint:eclipse_filter_configs:sonarlint_group_by_severity.png|}}\\ | + | |
- | \\ | + | |
- | 這樣你就可以從最嚴重的Blocker開始處理起了。\\ | + | |
- | \\ | + | |
- | ===== Note ===== | + | |
- | 目前並沒有找到方法可以直接使用Severity去過濾issues,如果之後有會再分享方法。 | + | |
- | ===== ===== | + | |
- | ---- | + | |
- | \\ | + | |
- | ~~DISQUS~~ | + |