romaindalichamp / TerminalTabTailor

Intellij Plugin to rename automatically the tabs
https://plugins.jetbrains.com/plugin/23903-terminal-tab-tailor
Apache License 2.0
9 stars 0 forks source link

Interaction between multiple projects open at the same time #12

Closed romaindalichamp closed 8 months ago

romaindalichamp commented 8 months ago

There is a conflict when there is multiple project windows opened at the same time. The terminal tabs are considered in one big array. It is not expected, as i am always using elements from the current "project":

This bug is diffucult to reproduce in "Development mode" as it is not happening when the "Developer" IDE is running a new "Test" IDE. But still, when i install the plugin in a normal context, and open another IDE from this using "File > Open ..." then, in this case the bug is happening

        val terminalContentManager =
            ToolWindowManager
                .getInstance(project)
                .getToolWindow(ActionId.TOOL_WINDOW_ID)
                ?.contentManager