Skip to content

Commit 3c21f69

Browse files
committed
use isRunningOnRemoteBackend
1 parent 21eee6e commit 3c21f69

File tree

1 file changed

+2
-1
lines changed
  • plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/popup

1 file changed

+2
-1
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/popup/CodeWhispererPopupManager.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ import software.aws.toolkits.jetbrains.services.codewhisperer.telemetry.CodeWhis
7474
import software.aws.toolkits.jetbrains.services.codewhisperer.toolwindow.CodeWhispererCodeReferenceManager
7575
import software.aws.toolkits.jetbrains.services.codewhisperer.util.CodeWhispererColorUtil.POPUP_DIM_HEX
7676
import software.aws.toolkits.jetbrains.services.codewhisperer.util.CodeWhispererConstants.POPUP_INFO_TEXT_SIZE
77+
import software.aws.toolkits.jetbrains.utils.isRunningOnRemoteBackend
7778
import software.aws.toolkits.resources.message
7879
import java.awt.Point
7980
import java.awt.Rectangle
@@ -486,7 +487,7 @@ class CodeWhispererPopupManager {
486487
CodeWhispererPopupEnterHandler(EditorActionManager.getInstance().getActionHandler(ACTION_EDITOR_ENTER), states)
487488
)
488489

489-
if (AppMode.isRemoteDevHost()) {
490+
if (isRunningOnRemoteBackend()) {
490491
setPopupActionHandler(ACTION_EDITOR_TAB, CodeWhispererPopupTabHandler(states))
491492
}
492493
}

0 commit comments

Comments
 (0)