apommel / vscode-matlab-interactive-terminal

VS Code extension allowing for an interactive Matlab terminal and launching of scripts through Matlab Engine for Python
MIT License
46 stars 9 forks source link

Use existing matlab terminal when not the active terminal #16

Open BaconPancakes opened 4 years ago

BaconPancakes commented 4 years ago

Often times I'm switching between MATLAB terminal and my system shell. If I'm on the MATLAB terminal and execute a MATLAB script, it knows to execute in that terminal without spawning a new one. But if I'm on system shell and execute a MATLAB script, it'll always spawn a new MATLAB terminal, even if one already exists.

apommel commented 4 years ago

This issue is corrected in a future version, even though it will maybe take some time for it to be released as I am a bit busy lately. In the meantime, you can switch to the previous terminal in order to keep the execution in it. I do realize however that it is not a perfect solution. Thanks for your feedback.