-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
x/tools/gopls: go modules in subfolders of VSCode folder are not recognized #37838
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here. |
|
@stamblerre Thanks for your feedback, but why is this issue closed if it is not already solved yet? |
This is an issue we are already aware of, and we have a number of issues related to it in the |
It’s been almost 3 months, and it’s still not fixed. |
Looks like there are some updates on this topic over here: #32394 |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Unknown, as a golang 1.14 package is not available for Ubuntu Xenial.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I am using a Go project folder structure like this:
As you can see there is a
go.mod
file in the wsl-ssh-pageant project.In Visual Studio Code I am opening the folder
go-projects
instead of the individual subfolders for reach project in order to quickly jump between them. You could think of it as my mono-repo-like approach with VSCode even though the individual projects are individual repos.What did you expect to see?
I expected gopls to recognize the
go.mod
file in the wsl-ssh-pageant project.What did you see instead?
Instead I am getting this error message:
The text was updated successfully, but these errors were encountered: