mathworks / MATLAB-extension-for-vscode

This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more.
https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab
MIT License
215 stars 13 forks source link

The `desktop` command does not work as expected on Mac #129

Open afugls opened 2 months ago

afugls commented 2 months ago

Describe the bug The desktop command does not work, as expected on Mac. It is not an intuitive behavior - at least not for a first time user.

To Reproduce Steps to reproduce the behavior:

  1. Open VC Code and a .m file.
  2. Connect to MATLAB
  3. Type desktop in the MATLAB termnial
  4. MATLAB GUI opens in the "background". That is, I can see the GUI if I show all open windows (ctrl+up arrow on Mac), but I cannot, for example, cmd+tab to the GUI or click on it in the dock.

Expected behavior A MATLAB GUI should appear in the forefront or in the dock.

Useful Information

Additional context I assume this behavior is caused because the connected MATLAB instance is hidden on Mac as mentioned in #9 .