To view a complete list of the commands and settings for this extension:
Feature Contributions
tab.You can configure your settings by modifying your User or Workspace Settings. To navigate to your settings, open the Command Palette (Ctrl+Shift+P) and search for “settings”. The simplest way to modify your settings is through “Preferences: Open Settings (UI)”.
NOTE: Most of these settings don't apply if you are using gopls
. Learn more about gopls
-specific settings in this documentation.
A list of popular and notable settings can be found below.
One of "godoc"
, "gogetdoc"
, or "guru"
(gogetdoc
is the default). This is the tool used by the go to definition, signature help, and quick info on hover features. See more information about each of these tools in the Documentation section.
One of "gofmt"
, "goimports"
, "goreturns"
, and "goformat"
(goreturns
is the default). This is the tool used by the formatting and import organization features. See more information about each of these tools in the Formatting section.
One of "golint"
, "staticcheck"
, "golangci-lint"
, and "revive"
(golint
is the default). This is the tool used by the lint-on-save feature. See more information about each of these tools in the Diagnostics section.