You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FYI @justinmk I tested #3515 on that branch, in both senarios in the description, only the root directory of the first file will be returned, the root directory of the second file does not get detected.
So: nvim outter_project/main.go outter_project/innner_project/main.go -O
the workspace_folders will only ever contain outter_project as the root, even when switching buffers to the second file
and nvim outter_project/innner_project/main.go outta_project/main.go -O
the workspace_folders will only ever contain inner_project as the root, even when switching buffers to the second file
Description
If we have the following:
outter_project
:/User/kkrime/go/src/outter_project
inner_project
:/User/kkrime/go/src/outter_project/inner_project
Both projects are vaild projects with all the files you'd expect in the root of a project folder to be detected by the lsp.
If you open the
outter_project
first then open theinner_project
, only theoutter_project
will be in the workspace_foldersnvim outter_project/main.go outter_project/innner_project/main.go -O
If you do it the other way round i.e first open the
inner_project
then open theoutter_project
, both projects will be in the workspace_foldersnvim outter_project/innner_project/main.go outta_project/main.go -O
both projects shouild be in workspace_folders in both senarios
The text was updated successfully, but these errors were encountered: