Skip to content

Commit 9898201

Browse files
committed
fix(amazonq): disabled highlighter for ignored issues
1 parent 40b2d4e commit 9898201

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "/review: disabled highlighter for ignored issues"
4+
}

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/codescan/CodeWhispererCodeScanSession.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ class CodeWhispererCodeScanSession(val sessionContext: CodeScanSessionContext) {
361361
} else {
362362
null
363363
}
364+
}.filter {
365+
it.isVisible
364366
}.onEach { issue ->
365367
// Add range highlighters for all the issues found.
366368
runInEdt {

0 commit comments

Comments
 (0)