go-langserver icon indicating copy to clipboard operation
go-langserver copied to clipboard

GoToDef Only Works When Reloading A Window (VSCode)

Open marwan-at-work opened this issue 7 years ago • 1 comments

I'm not sure how the integration works between VSCode and go-langserver, but every time I introduce a new import to a file, I am unable to GoToDef unless I reload the window.

Here's the VSCode issue that led me here https://github.com/Microsoft/vscode-go/issues/1802

Thanks :)

marwan-at-work avatar Jul 28 '18 12:07 marwan-at-work

That is unexpected. I assume reloading the window basically restarts the go-langserver. So my guess is some bad use of caching. I'll try to reproduce.

keegancsmith avatar Jul 30 '18 12:07 keegancsmith