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: import organization not working #43904
Comments
You will need to remove the |
New version
|
To start, it looks like you might be using an unstable version of |
|
I've tried to reproduce this, but I haven't been able to. Is this project public / can you share a project that we can use to repro this issue? |
sure, its just a dummy sandbox |
Sorry, I still can't reproduce this. I removed the My only suggestion is to try reproducing in as minimal an environment as possible. |
may i know, how do you setup your vscode ? |
I am also unable to reproduce this, but you shouldn't need any tools other than "gopls": {
"verboseOutput": true
} If that doesn't clarify the problem, I may have to ask you to add some additional logging statements and rebuild |
i just try it in a windows and it works as expected. |
@bokunodev: Can you share the logs with verbose output when you try it on Linux? |
i just noticed, vcode in windows and linux, they have different output.
|
So it sounds like you may have some misconfiguration of your environment on Linux. Is there a |
@stamblerre the out.mp4 |
I just noticed this discrepancy:
Can you try opening the |
i tried before and i just did. |
Can you please share a log when you run from the |
@stamblerre |
The logs should be the same as the ones you shared above - https://github.com/golang/vscode-go/blob/master/docs/troubleshooting.md#collect-extension-logs includes full instructions. My request is that you open VS Code from the |
we are running in a circle simplescreenrecorder-2021-02-10_03.11.22.mp4 |
Thank you for bearing with us. These types of issues can be tricky to diagnose and logs are critical to our understanding. It looks like In the meantime, we noticed that a few of your environment variables appear to be misconfigured. Specifically, it looks like your
Typically, I don't expect that making these corrections will resolve the problem, but please let us know if it does. We will follow up with additional logging soon. |
i think i found the culprit. simplescreenrecorder-2021-02-10_08.31.37.mp4 |
Ok, I'm glad to hear that solved the issue. OK to close this now? |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
open a directory with a
go.mod
file in vscode/codiumWhat did you expect to see?
auto import works fine.
What did you see instead?
Sublime LSP works fine. is there any on how vscode/codium handle directory, compare to sublime ?
gopls & gopls (server) logs
6-gopls (server).log
7-gopls.log
settings.json.txt
The text was updated successfully, but these errors were encountered: