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

Code navigation for files under open project #109

Closed shenhai-ran closed 3 months ago

shenhai-ran commented 3 months ago

It looks like Go To Definition and similar features only works for files which are added to the MATLAB path. When I open a project at VSCode, not all my projects files are added to path at startup, and it is not possible for code navigation actions.   It would be nice to automatically add files under my open project into path for code navigation. A project root maybe detected by .git or MATLAB project folder.

dklilley commented 3 months ago

Thanks for raising this request! I believe this is the same as #98, so I am closing this as a duplicate of that issue.