Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Go Mod ExplorerNew to Visual Studio Code? Get it now.

Go Mod Explorer

r3inbowari

|
563 installs
| (3) | Free
Displays the external libraries for the current go project in the Explorer.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Go Mod Explorer README

Displays the external libraries for the current go project in the Explorer.

Github: https://github.com/r3inbowari/go-mod-explorer
VSCode Market: https://marketplace.visualstudio.com/items?itemName=r3inbowari.gomodexplorer

it looks like:

image

Shortcuts:

Description Keybinding
Focus the Gomod Explorer.(package name search) Ctrl(⌘) + Shift + '
Blur and back to the previous focus. Ctrl(⌘) + Shift + '

Settings:

Name Type Default Description
go.goroot String undefined Custom installation directory.
gomod.revealEnable Boolean true Enable auto reveal.

Q&A:


Q: Why is there nothing in GoMod Explorer?
A: Make sure you have installed the go binary, and set the system environment or "go.goroot".
A: Note that go.goroot has higher priority than system environment in order to be consistent with the official extension.

Q: Why GoMod Explorer not showing in VSCode?
A: This extension depends on the official extension, please install the "vscode-go" at first.

Q: How to navigate(reveal) to the external code?
A: Make sure you have installed the official extension "vscode-go".
A: Make sure "gomod.revealEnable" is true.

Q: Why sometimes reveal doesn't work?
A: Limited by the VSCode API, at most three levels of recursion are allowed when revealing.

I'm appreciate if you could report an issue or pr. (๑•̀ㅂ•́)و✧ Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2022 Microsoft