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
241 stars 16 forks source link

Platform-Specific Settings for MATLAB Installation Paths in VSCode #185

Closed tianrui-qi closed 2 weeks ago

tianrui-qi commented 4 weeks ago

I am using the VSCode settings synchronization feature across my MacBook and Windows PC, which includes the settings for extensions. However, I encounter an issue with the MATLAB extension due to differing installation paths on the two systems:

Currently, the extension supports only one configuration setting MATLAB.installPath for the MATLAB installation path, requiring manual updates every time I switch devices. Could the extension be enhanced to support separate settings for different operating systems? This feature would greatly simplify the workflow for users who work across multiple platforms. For example, terminal.integrated.automationProfile provide three separate setting for Linux Exec, Osx Exec, and Windows Exec.