Multi-root with CCLS #4249
Unanswered
spaceotter
asked this question in
Q&A
Replies: 1 comment 10 replies
-
Something like this should work for you:
|
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an (annoying) project setup with two folders, say A and B, A has the build folder with the compilation_commands and is set up and working with CCLS. There is a separate folder B which contains some files that are part of the project. The command
lsp-workspace-folders-add
does not do the desired thing when I add folder B. This causes it to start a separate server with the incorrect root. If I invokelsp
manually, I can select the correct root A and it connects to the right server. How can I get files in B to automatically connect to the server for A?Beta Was this translation helpful? Give feedback.
All reactions