-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
This was reported in #204.
It appears that this issue is specific to Mac. When the extension is attempting to cd and addpath the user's workspace folders, these operations are erroring due to the paths not correctly being split. The matlabLog errors look similar to the following:
Error during `cd` operation:
Unable to change current folder to '/Users/<usr>/dev/project/Users/<usr>/dev/project' (Name is nonexistent or not a folder).
[�Warning: Name is nonexistent or not a directory:
/Users/<usr>/dev/project/Users/<usr>/dev/project]�
[�> In path (line 109)
In addpath>doPathAddition (line 126)
To Reproduce
Steps to reproduce the behavior:
- On Mac, set up a VS Code workspace with multiple folders
- Connect to MATLAB
Expected behavior
The user's workspace folders should be added to the path without error.
Useful Information
This is pulled from #204:
- MATLAB version: R2024b Update 3 (24.2.0.2803551)
- OS Version: macOS 15.2 (24C101)
- VS Code Version: Version: 1.96.3
jecs
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working