|
|
|
|
|
by farslan
2652 days ago
|
|
This is now mostly fixed with "gopls". It's using go/packages under the hood which is both GOPATH and Go modules aware. gopls has also caching inbuilt, both code completion and jump to definition works very well. If you're using vim-go, HEAD has now gopls support. I believe vscode also added recently support for gopls. Other than, I agree that it broke all other tools, but most of them are migrated to use the go/packages package so it'll be better going forward. |
|
I tried to use the profiling flags to get some data to file reports, but ran out of yak-shaving time when I realised was trying to flush out a bug in the tool command helpers in golang/go where it would write empty profiles if the process was shut down the exact way vim was shutting it down. That may have been fixed since, I haven't had a chance to look back into it.