You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/codescan/CodeWhispererCodeScanSession.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -506,7 +506,7 @@ data class Description(val text: String, val markdown: String)
506
506
507
507
data classRemediation(valrecommendation:Recommendation, valsuggestedFixes:List<SuggestedFix>)
508
508
509
-
data classRecommendation(valtext:String, valurl:String)
509
+
data classRecommendation(valtext:String, valurl:String?)
510
510
511
511
data classSuggestedFix(valdescription:String, valcode:String)
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/codescan/listeners/CodeWhispererCodeScanEditorMouseMotionListener.kt
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -92,10 +92,7 @@ class CodeWhispererCodeScanEditorMouseMotionListener(private val project: Projec
92
92
"-"
93
93
}
94
94
95
-
val detectorLibraryLink ="<a href=\"https://docs.aws.amazon.com/codeguru/detector-library/${
96
-
issue.detectorId.split("@").first()
97
-
}\">${issue.detectorName}</a>"
98
-
95
+
val detectorLibraryLink = issue.recommendation.url?.let { "<a href=\"${issue.recommendation.url}\">${issue.detectorName}</a>" } ?:"-"
0 commit comments