-
Notifications
You must be signed in to change notification settings - Fork 645
gopls and current path #2579
Comments
mine is also seems broken - cant get any compiler info if its active, if i disable it i get compiler info again. https://www.dropbox.com/s/w3njtkekp3cf92m/2019-06-18_14-23-13.mp4?dl=0 |
I've found a workaround. In my current workflow, I'm opening the directory However, if I open a new window, containing only 1 single project, it works ! But I can't work like this, I need to have quick access to all my projects. |
PS: maybe there is an acceptable workflow:
|
@pierrre: If you are using modules, you will have to use the approach of multiple workspace folders. The editor notifies |
OK thank you, I'm closing this issue, and will follow golang/go#32394 |
Go version: go1.12.6 linux/amd64
VSCode version: 1.35.1
VSCode Go version: 0.11.0
Gopls version: the latest available at this time (da514acc4774e511ba0c2955844e655a5b20938c, I've installed it through vscode-go)
The language server doesn't work at all for me.
For each interaction with the editor, I see a lot of errors in the "gopls" logs:
I can reproduce the issue using the command line (call gopls manually).
If my current directory is not inside the project, I get the same error message.
If my current directory is inside the current project, it works fine.
My VSCode config:
The text was updated successfully, but these errors were encountered: