-
Notifications
You must be signed in to change notification settings - Fork 645
Add Go to implementation cmd to the Go: Show all Commands for better discoverability #1822
Comments
Are you aware of any Go tools that can do this? The Go extension itself is not smart enough to figure out Go ASTs. It relies on a set of Go Tools to give rich language features. |
This issue has been closed automatically because it needs more information and has not had recent activity. Thank you for your contributions. |
The guru implements subcommand can do this. |
Thanks for sharing that @ChrisHines! |
@ramya-rao-a is it possible to add this command( i was trying to look for the same, how does vscode invoke if this is not a bad idea, i can try sending a PR |
I understand that this is a discovery problem. We can add the below commands to the
PR is definitely welcome.
|
i tried the following file : package.json
file : goMain.ts
i am getting the below error in the Debug Console :
invoking with debugging: perhaps there is a better way. #needhelp |
Try passing But, we shouldnt add new commands that behind the scenes just calls another command. I was thinking of passing the existing commands for |
commands added : * Go to definition * Go to implementation * Go to symbol in file * Go to symbol in workspace fixes microsoft#1822
commands added : * Go to definition * Go to implementation * Go to symbol in file * Go to symbol in workspace fixes microsoft#1822
commands added : * Go to definition * Go to implementation * Go to symbol in file * Go to symbol in workspace fixes microsoft#1822
commands added : * Go to definition * Go to implementation * Go to symbol in file * Go to symbol in workspace fixes microsoft#1822
* goMain.ts add commands to Go: Show All Commands commands added : * Go to definition * Go to implementation * Go to symbol in file * Go to symbol in workspace fixes #1822 * Skip descriptions as they dont get shown in the UI
This feature is now out in the latest update to the Go extension (0.6.92). Thanks @vimalk78! |
Proposal. Please, implement a function that shows which interfaces from the current scope are satisfied by the selected function.
The text was updated successfully, but these errors were encountered: