All Versions
136
Latest Version
Avg Release Cycle
25 days
Latest Release
85 days ago
Changelog History
Page 10
Changelog History
Page 10
-
v0.6.92 Changes
October 17, 2018-
- Add option
file
togo.lintOnSave
setting to enable linting just the current file instead of package/workspace on file save. Feature Request 1931 implemented with PR 1965
- Add option
-
- New snippet for
select
statements. PR 2004
- New snippet for
-
- Include out of the box commands for Go to definition, implementation and symbol in the
Go: Show All Commands
feature. Feature Request 1822 implmented with PR 1952
- Include out of the box commands for Go to definition, implementation and symbol in the
-
- Use different icons for structs, interfaces and types. PR 1961
ShowerYing (@showerying), Ramya Rao (@ramya-rao-a)
- Remove
godoc
from the list of installable Go tools as it doesnt support CLI mode anymore. Usegodoc
binary which is shipped as part of the Go distribution instead.
- Remove
-
- Include bazel option in
go.gocodePackageLookupMode
setting. Note: This only applies when using nsf/gocode. Latest versions of the Go extension uses mdempsky/gocode by default. PR 1908
- Include bazel option in
-
- Fix the regression introduced in the previous update where the testify suites arent being indentified as tests by the codelens unless
go.gotoSymbol.includeImports
was enabled. - Fix the regression where auto-completions are messed up when multiple packages match with the one being used. Fixes Bug 2011 with commit d789de0f
- Fix the regression introduced in the previous update where the testify suites arent being indentified as tests by the codelens unless
📚 Documentation Updates
⚡️ Engineering Updates
-
- Fix failing tests with PR 2016
Nguyen Long Nhat (@torn4dom4n)
- Replace the use of deprecated
$workspaceRoot
with$workspaceFolder
. PR 1977
- Replace the use of deprecated
-
-
v0.6.91 Changes
October 10, 2018-
- Fix the bug where code coverage is not displayed when using Go modules. Bug 1927
- Fix the bug where file paths in the test output are not clickable when using Go modules. Bug 1973
- Dont display the
Analysis Tools Missing
warning for the forks ofgodef
andgocode
. They are needed only when using Go modules and there are prompts to install them when the extension detects the use of modules.
-
v0.6.90 Changes
October 03, 2018Rebecca Stambler (@stamblerre)
- Use of forks for the tools
godef
andgocode
to provideGo to definition
andAuto-completion
features respectively when using Go modules. The binaries installed from these forks will have the suffix-gomod
and will only be used when you use Go modules.
- Use of forks for the tools
Bianca Rosa de Mendonça (@biancarosa)
- New commands
Go: Benchmark File
,Go: Benchmark Package
and codelens to run all the benchmarks in current file & package respectively. Feature Request 1522 with PR 1898 & PR 1899
- New commands
-
- New setting
go.generateTestsFlags
to provide flags for thegotests
tool when generating tests. PR 1841
- New setting
Johan Lejdung (@johan-lejdung)
- New setting
go.testTags
to be used for running tests. This way, you can use the existinggo.buildTags
for compiling and a different set of tags for running tests. Feature Request 1842 implemented with PR 1877
- New setting
-
- Fix accessibility issues with the
Analysis Tools Missing
button in the status bar. PR 1922
- Fix accessibility issues with the
-
- Improve snippets for
iferr
andforr
i.e "if err ..." the "for range". Feature Request 1920 implemented with PR 1924
- Improve snippets for
-
- Use random port instead of hard-coded 2345 when running delve. Fixes Bug 1906
- Fix issue where tests using the check package cannot be run using the
Go: Test File
command. Bug 1911 - Disable module support when installing the Go tools. Fixes Bug 1919
- Use version 2 of delve apis by default instead of version 1. Replace existing
useApiV1
setting/configuration withapiVersion
. Feature Request 1876 - Prompt to update
gogetdoc
andgopkgs
if using Go modules. - Disable
go.inferGopath
in workspace settings when using Go modules automatically. - Add support for the below features when using Go modules
Go: Add Import
command that gives you a list of importable packages to add to the import block of current fileGo: Browse Packages
command that lets you browse available packages and their files- Auto-completion of unimported packages when
go.autocompleteUnimportedPackages
setting is enabled.
-
v0.6.89 Changes
August 30, 2018- 📦 Show package variables and not just local variables in the debug viewlet when debugging. Feature Request 1854 implemented with PR 1865
- 🛠 Fix issue with anti virus scans blocking download of the Go plugin due to a dependency. Bug 1871
- 🛠 Fix broken code coverage feature in Windows in Go 1.11 as the cover profile no longer uses backward slashes. Bug 1847
- ⚡️ Update existing Go tools when Go version or goroot changes, instead of the checkbox UI where user has to select the tools to update.
-
v0.6.87 Changes
August 16, 2018🐛 Bug Fixes
- Extension host crashing with SIGPIPE error on machines that do not have the Go tools that the extension depends on instead of graceful error handling. Bug 1845
- 🏗 Build fails on unix machines if user doesnt have entry in the /etc/passwd file. Bug 1850
- Avoid repeating gopath when the inferred gopath is the same as env gopath
-
v0.6.86 Changes
August 13, 2018Debugging improvements
-
- Introducing a new mode for debugging called
auto
. In this mode, the debugging sessions will run intest
mode automatically if the current active file is a test file. Otherwise this defaults to the usualdebug
mode. Feature Request 1780
- Introducing a new mode for debugging called
-
- Errors from delve api calls are now shown in the debug console when
"showLog": true
is added to the debug configuration. PR 1815.
- Errors from delve api calls are now shown in the debug console when
-
- Fix bug when debugging a program that runs in a loop forever is not stopped when the stop button is clicked. Bug 1814
- Fix bug when a previous failed debugging session due to compile errors results in failure of future sessions after fixing the compile error. Bug 1840
- The environment variables in
go.toolsEnvVars
setting which gets used by all Go tools in this extension will now be passed todlv
as well during debugging sessions. With this change you dont need to repeat the variables in the debug configuration if you have already added it in the settings. Feature Request 1839
Others
-
- The
go.gopath
command when run programatically by other extensions now returns the GOPATH as determined by this extension. Useful for other extensions that want to provide additional features but do not want to repeat the work done by this extension to determine the GOPATH.
- The
-
- Fix error handling when the error returned by the process that runs formatting is not a string. PR 1828
-
-
v0.6.85 Changes
July 26, 2018-
- New command
Go: Add Package to Workspace
that will add selected imported package to the current workspace. Feature Request 1733 implemented with PR 1745
- New command
Marwan Sulaiman (@marwan-at-work)
- When suggesting unimported custom packages, show the ones form current workspace before the others. PR 1782
-
- Fix error with
Go: Generate Interface Stubs
command when using on an interface that is defined inside an "internal" folder.Bug 1769 - Fix bug where auto-completions dont show built-in types. Bug 1739
- Look at GOROOT before PATH when looking for the Go binary. Fixes Bug 1760 which was a regression.
- Clean up the debug binary that gets generated by delve at the end of the debugging session. Bug 1345
- Fix error with
-
-
v0.6.84 Changes
June 29, 2018-
- Support to run tests that use the test suites from stretchr/testify suite using codelens. PR 1707
-
- New setting
go.delveConfig
to configure the use of v2 apis from delve to be used when debugging tests as well normal code. Feature Request 1735 implemented with PR 1749
- New setting
-
- Option to install/update selected tools required by the Go extension. Feature Request 1731
-
-
v0.6.83 Changes
June 15, 2018-
- Support for Conditional Breakpoints when debugging. Feature Request 1720 implemented with PR 1721
- Fix the watch feature in the debug panel that got introduced in the previous update. Fixes Bug 1714 with PR 1718
-
- New setting
go.alternateTools
to provide alternate tools or alternate paths for the same tools used by the Go extension. Provide either absolute path or the name of the binary in GOPATH/bin, GOROOT/bin or PATH. Useful when you want to use wrapper script for the Go tools or versioned tools from https://gopkg.in. PR 1297. Some scenarios:- Map
go
togoapp
when using App Engine Go - Map
gometalinter
togometalinter.v2
if you want to use the stable version of the tool
- Map
- New setting
-
- Support the new outline feature which is in preview. Bug 1725
- Close
gocode
before updating and show appropriate message when failed to do so.
-
-
v0.6.82 Changes
June 06, 2018-
- Status bar item to cancel running tests. Feature Request 1047 implemented with PR 1218
-
- Fix the regression in the code coverage where the coverage doesnt get applied/removed as expected. Fixes Bug 1716 and Bug 1717 with commit abe97240
-