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/popup/CodeWhispererPopupManager.kt
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,8 @@ import javax.swing.JLabel
85
85
classCodeWhispererPopupManager {
86
86
val popupComponents =CodeWhispererPopupComponents()
87
87
88
-
var shouldListenerCancelPopup:Boolean=true
88
+
// Act like a semaphore: one increment only corresponds to one decrement
89
+
var shouldEditorChangeCancelPopup:Int=0
89
90
var sessionContext =SessionContext()
90
91
private set
91
92
@@ -247,10 +248,16 @@ class CodeWhispererPopupManager {
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/popup/listeners/CodeWhispererPopupIntelliSenseAcceptListener.kt
0 commit comments