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
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