mathworks / mathworks/MATLAB-language-server

Define project path to find all code dependencies

Open
#37 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
125
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I'm currently able to setup and use matlab_ls under neovim. However, one of the projects I work on has multiple functions and scripts defined in different folder paths. Usually these are added with some setup scripts so as to not contaminate the path with unnecessary entries when working with other projects.

Is it possible to setup the LSP to load these paths via a script or some other setting? Is there a different approach to help the language server find my function definitions?

thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by tracing how matlab_ls receives project and path configuration when launched from Neovim, then compare that with the setup scripts described; done means the supported approach for loading project-specific function paths is implemented or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab, neovim, typescript
Domain
devtools, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.