This repository has been archived by the owner on May 7, 2021. It is now read-only.
v4.3.0
Major Changes
- 🆕 The
go-plus
panel is back, reimagined and now displaying test output and documentation 🎉. Toggle the panel using thegolang:toggle-panel
command (ctrl + alt + shift + g p; or you can toggle it by clicking on thego-plus
status bar icon), save a file or use thegolang:run-tests
command to display test output, and see documentation with thegolang:showdoc
command (alt + d)
- 🆕 Update all tools with the new
golang:update-tools
command (ctrl + alt + shift + g u) - you should get in the habit of running this periodically, and you should also run it before filing an issue
- Tests are now run on save by default (and the
-short
flag is used by default, also)
Minor Changes
- You can now toggle the
propose-builtins
andunimported-packages
gocode
settings viaautocomplete-go
package settings (and both settings are set totrue
by default) gocode
is now closed automatically when you rungolang:update-tools
, which will greatly assist when updating your version of go (if you have ever seenPANIC
as the only autocomplete suggestion, just rungolang:update-tools
to resolve it)- The
tester-go.runCoverageOnSave
config key was renamed totester-go.runTestsOnSave
, and the default set totrue
- The
tester-go.runCoverageWithShortFlag
config key was renamed totester-go.runTestsWithShortFlag
- 🆕 The
tester-go.coverageHighlightMode
setting was added, allowing you to control coverage highlighting:covered-and-uncovered
: highlight covered and uncovered regions of textcovered
: highlight covered regions of textuncovered
(default): highlight uncovered regions of textdisabled
: disable highlighting
- The
golang:gocover
command was renamed togolang:run-tests
and bound to ctrl + alt + shift + g t - the
golang:cleargocover
command was renamed togolang:hide-coverage
and bound to ctrl + alt + shift + g x