-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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: current directory shouldn't matter #32663
Comments
Do you set |
@mattn no, I don't set |
@pierrre: In your linked issue, you mentioned working in a directory outside your |
OK, thank you. |
What version of Go are you using (
go version
)?go1.12.6 linux/amd64
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I've opened an issue here microsoft/vscode-go#2579
It seems that the current directory while running gopls is very important.
If the current directory is not inside my project, gopls doesn't work.
I guess it's used in order to find the
go.mod
file.What did you expect to see?
gopls should run even if the current directory is not inside my project.
What did you see instead?
See the other Github issue.
The text was updated successfully, but these errors were encountered: