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
234 stars 15 forks source link

Matlab Extension doesn't connect when using the New Desktop for MATLAB extension #91

Closed jTorresR8 closed 7 months ago

jTorresR8 commented 7 months ago

when using the new desktop for MATLAB extension, the vs code Matlab extension opens a new Matlab window that fails to load, and the extension never connects. This might have something to do with the known issue: Currently, apps that use the javacomponent function are not supported. We're working on this.

To Reproduce Steps to reproduce the behavior:

  1. enable the new desktop extension in Matlab.
  2. try to connect vs code extension to Matlab

Expected behavior extension should connect without major issues with the new desktop enabled.

Screenshots image

Useful Information

dklilley commented 7 months ago

There is currently a known issue with connecting to the MATLAB when the New Desktop experience is enabled. This is captured in #24 and is actively being worked on.

For now, you will need to disable the New Desktop to use with the MATLAB extension for VS Code.