Skip to content

Commit 0e68e32

Browse files
zixlin7rli
andauthored
Update plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/inline/OpenChatInputAction.kt
Co-authored-by: Richard Li <[email protected]>
1 parent 5a8faae commit 0e68e32

File tree

1 file changed

+1
-2
lines changed
  • plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/inline

1 file changed

+1
-2
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/inline/OpenChatInputAction.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import com.intellij.openapi.util.Key
1111
class OpenChatInputAction : AnAction() {
1212
override fun actionPerformed(e: AnActionEvent) {
1313
val editor = e.getData(CommonDataKeys.EDITOR) ?: return
14-
// this is a hack since this key does not exist in 233
15-
// TODO: change below to use ConsoleViewImpl.IS_CONSOLE_DOCUMENT after 233 support is removed
14+
// FIX_WHEN_MIN_IS_241: change below to use ConsoleViewImpl.IS_CONSOLE_DOCUMENT
1615
var isConsole: Any? = null
1716
val key: Key<*>? = Key.findKeyByName("IS_CONSOLE_DOCUMENT")
1817
if (key != null) {

0 commit comments

Comments
 (0)