A VSCode extension of Go Module Explorer.
Icon | Description |
---|---|
Module Group | |
Invalid Module Group | |
Direct Module | |
Indirect Module | |
Replaced Module | |
Work Module |
Description | Keybinding |
---|---|
Focus the Go Mod Explorer.(package name search) | Ctrl(⌘) + Shift + ' |
Blur and back to the previous focus. | Ctrl(⌘) + Shift + ' |
Reveal the current activate in the Editor. | Ctrl(⌘) + Shift + / |
Quick Collapse Go Mod Explorer. | Ctrl(⌘) + Shift + . |
Name | Type | Default | Description |
---|---|---|---|
go.goroot | String | undefined | Custom installation directory. |
gomod.autoReveal | Boolean | true | Enable auto reveal. |
gomod.focusMode | Boolean | true | Reveal while focusing. |
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.
A: "gopls" is also needed, You can download it by "vscode-go". For more details, please refer to the tutorial of "vscode-go".
Q: How to navigate(reveal) to the external code?
A: Make sure you have installed the official extension "vscode-go".
A: Make sure "gomod.autoReveal" 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.
This software is released under the MIT license.
See the Quickstart Guide for more information.
If you have problems, you can ask or find on Issue Tracker.
I appreciate if you could report an issue or pr. (๑•̀ㅂ•́)و✧
Enjoy!