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/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/commands/codescan/actions/HandleIssueCommandAction.kt
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,13 @@ class HandleIssueCommandAction : AnAction(), DumbAware {
24
24
val contextDataKey =DataKey.create<MutableMap<String, String>>("amazonq.codescan.handleIssueCommandContext")
25
25
val actionDataKey =DataKey.create<String>("amazonq.codescan.handleIssueCommandAction")
26
26
27
+
privateval explainContextPrompt ="Provide a small description of the issue. You must not attempt to fix the issue. "+
28
+
"You should only give a small summary of it to the user. "+
29
+
"You must start with the information stored in the recommendation.text field if it is present."
30
+
privateval applyFixContextPrompt ="Generate a fix for the following code issue."+
31
+
" You must not explain the issue, just generate and explain the fix. "+
32
+
"The user should have the option to accept or reject the fix before any code is changed."
0 commit comments