Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

godef to net package failed #599

Closed
tonyjt opened this issue Nov 3, 2016 · 5 comments
Closed

godef to net package failed #599

tonyjt opened this issue Nov 3, 2016 · 5 comments

Comments

@tonyjt
Copy link

tonyjt commented Nov 3, 2016

F12 to net package source code failed.

macox

@zerbitx
Copy link

zerbitx commented Nov 3, 2016

Just had the same thing happen to me. It's working for other stdlib symbols, but does nothing for net. Autocomplete still works for net.

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented Nov 3, 2016

Do you see any errors in the console in the Developer tools? Developer: Toggle Developer Tools

Any failure message show in the VS Code window?

@ramya-rao-a
Copy link
Contributor

I can repro this. While debugging, godef gives error godef: no declaration found for net.Dialer when I tried F12 on Dialer.

This is a problem with godef and might be related to #515

@tonyjt @zerbitx Can you both chime in on rogpeppe/godef#48 ?

@ramya-rao-a
Copy link
Contributor

Closing as duplicate of #442

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented Nov 21, 2016

In the latest update of the Go extension (0.6.50), we now support the use of gogetdoc for Goto/Peek Definition, Hover info and Signature Help features. Add "go.docsTool": "gogetdoc" to your setting to enable the use of gogetdoc, reload/restart VS Code and that should fix this issue.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 23, 2018
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

3 participants