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

Ability to add folders and subfolders to path #171

Closed maucejo closed 3 months ago

maucejo commented 3 months ago

Hi all,

First of all, thank you for this extension. For making all my files accessible, I generally use the UI to add folders and subfolders to the path by using a right-click on the considered folder -> "Add to Path" -> "Selected Folders and Subfolders".

Of course, I can always add a addpath(genpath(...), but using the UI is very convenient.

Currently, the Vscode extension allows add only one folder by right-clicking on it. So, it would great to add the subfolders recursively as in the Matlab desktop app.

Thank you.

dklilley commented 3 months ago

This context menu option has been added in v1.2.5.