-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: couldn't start client gopls #39987
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. |
Hi there, I'm facing the same issue opening VSC at any time. GO version go1.14.3 darwin/amd64 |
Thanks for the reports. @leetrout: Do you mind sharing the full log for @cerezo074: If you could also share your logs, that'd be very helpful. Details on how to do so in the Troubleshooting guide. |
I have roughly similar setup i.e. MacOS gopls 4.2 etc. Below is the log with "--rpc.trace" flag. I cannot find the URI at fault
Below are the details of my setup Build info
Go info
|
I've added additional logs in the original issue description. Per this reddit thread I can confirm opening a directory works...
It looks related to
|
Thank you for sharing the logs. It looks like both the rootURI and the workspace folders are null when you start VS Code. How are you opening it? @leetrout: I see you are opening |
@stamblerre I don't think I ever noticed that it didn't work! 🤔 So to clarify (my apologies it wasn't clear):
|
Yep - that sounds about right. We will support just opening a single file in the next version (the change just went in - https://golang.org/cl/240099). Can we close this issue or is there anything else to address? |
Yep, will close! Thank you so much for the quick responses! |
Can this be marked as a 0.4.4 milestone item? |
Done - just created a 0.4.4 milestone. |
What did you do?
Tried to open a go file from the command line with
code <relative filepath>
.What did you expect to see?
Go language features working in VS code.
What did you see instead?
Edit 2020-07-02 9:54 EDT
Additional logs:
Build info
Go info
The text was updated successfully, but these errors were encountered: