Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

GoToDef Only Works When Reloading A Window (VSCode) #299

Open
marwan-at-work opened this issue Jul 28, 2018 · 1 comment
Open

GoToDef Only Works When Reloading A Window (VSCode) #299

marwan-at-work opened this issue Jul 28, 2018 · 1 comment
Assignees

Comments

@marwan-at-work
Copy link

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 microsoft/vscode-go#1802

Thanks :)

@keegancsmith keegancsmith self-assigned this Jul 30, 2018
@keegancsmith
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants