[go-nuts] Re: gopls breaking imports?

2024-11-07 Thread 'Robert Findley' via golang-nuts
Hi John, I'm not able to immediately reproduce with VS Code, but if you file an issue we can investigate. We'll want the logs with the `-rpc.trace` flag passed to gopls, from a brief session reproducing the problem. Thanks, - Rob On Thursday, November 7, 2024 at 1:49:44 PM UTC-5 John Robinson

[go-nuts] Re: Need Help: gopls and VSCode Setup with the Go Project - Nested Module Error

2023-04-18 Thread 'Robert Findley' via golang-nuts
Hi, Yes, there are some gotchas involved with setting up VS Code with the Go project. The most common fix is to make sure that the go command resolved from PATH is the go command built via src/make.bash. There are some more details at https://github.com/golang/tools/blob/master/gopls/doc/adva

[go-nuts] Re: gopls: How to suppress a warning?

2022-12-22 Thread 'Robert Findley' via golang-nuts
You can disable the "composites" analyzer: https://github.com/golang/tools/blob/master/gopls/doc/analyzers.md#composites Update the "analyses" configuration to include "composites": false, as described here: https://github.com/golang/tools/blob/master/gopls/doc/settings.md#analyses-mapstringbo

[go-nuts] Re: VS Code Go intellisense causing problems

2022-09-28 Thread 'Robert Findley' via golang-nuts
Hi, Can you follow the instructions at https://github.com/golang/vscode-go/blob/master/docs/troubleshooting.md to try to diagnose the problem? It sounds like your workspace is broken and/or you are having trouble with the language server. Please try troubleshooting, and if you are unable to ge