Open QingCold opened 4 months ago
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.
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/")