Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intellisense across a multiroot workspaces #5

Open
kaschau opened this issue Jan 22, 2019 · 1 comment
Open

Intellisense across a multiroot workspaces #5

kaschau opened this issue Jan 22, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@kaschau
Copy link

kaschau commented Jan 22, 2019

Is there a way for intellisense to "see" subroutines, variables, etc. across a multiroot workspace in VS Code?
i.e.

-/
|__ source-for-lib/
|__ source-for-executable/

In which source-for-executable code makes calls to the source-for-lib subroutines. This works very well with debugging in VS Code, but I can't get Intellisense to find subroutines called in source-for-executable that are defined inside source-for-lib

@hansec
Copy link
Owner

hansec commented Apr 2, 2019

Sorry this took so long. Making the whole project visible in a single workspace is troublesome to implement on the server side. However, I think I can come up with a solution that should work reasonably well for you through a configuration file in the source-for-lib directory. Right now source_dirs is relative to the server root, but I will add support for absolute paths. Then the server in the "executable" root can be made aware of objects in the "library" root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants