-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
Is modifying current workspace available? #4938
Comments
My current solution is : bind call CocAction('AddWorkspaceFolder','path') to a command. Then execute CocCommand -- intelephense.index.workspace |
There's currently no way to set workspace root. coc.nvim resolved root for current document with root patterns, for monorepo with multi root patterns, the resolving maybe correct for some but fail for others. Similar issues: Will improve the resolving for monorepo. |
So is there a need to add feature 'set workspace root' ? I thought it will be better. Hope this does not bother you. :) |
|
Is your feature request related to a problem? Please describe.
I recently open a complex project containing multi submodules which each owns a '.git'.
So I wonder if there is a method that let me modify current workspace so that my lsp can run correctly.
Describe the solution you'd like
I'd like to use CocCommand to modify the workspace.
e.g. workspace.setCurrentWorkspace("/path/to/myproject/")
The text was updated successfully, but these errors were encountered: