Skip to content

Commit 559edb3

Browse files
committed
fix(terminal): resolve compatibility issues in version 222 #135
The commit addresses compatibility issues with version 222 by removing the import of `TerminalToolWindowManager` and adjusting the action performed to handle the tool window management differently.
1 parent 635ad7f commit 559edb3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

exts/ext-terminal/src/main/kotlin/cc/unitmesh/terminal/GenShellAction.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import com.intellij.ui.components.JBLabel
1616
import com.intellij.util.ui.JBUI
1717
import com.intellij.util.ui.StartupUiUtil
1818
import com.intellij.util.ui.SwingHelper
19-
import org.jetbrains.plugins.terminal.TerminalToolWindowManager
2019
import java.awt.Component
2120
import java.awt.Font
2221
import java.awt.Point
@@ -36,7 +35,6 @@ class GenShellAction : AnAction() {
3635
override fun actionPerformed(e: AnActionEvent) {
3736
val project = e.project ?: return
3837
val contextComponent = e.getData(PlatformCoreDataKeys.CONTEXT_COMPONENT) ?: return
39-
TerminalToolWindowManager.getInstance(project).toolWindow
4038
showContentRenamePopup(project, e.inputEvent?.component ?: contextComponent)
4139
}
4240

0 commit comments

Comments
 (0)