Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Releases: microsoft/vscode-go

Bug fixes

17 Aug 00:11
Compare
Choose a tag to compare
  • 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

Workarounds for upstream electron issue

15 Aug 03:25
Compare
Choose a tag to compare

Due to an upstream issue with newer version of electron that was shipped with VS Code 1.26.0 recently, some users might see an SIGPIPE error instead of graceful error handling of the absence of certain Go tools. This release attempts to work around this issue by trying to catch such cases earlier and prompting the user to install the missing tool.

Upstream Issue in VS Code: microsoft/vscode#56301
Upstream Issue in Electron: electron/electron#13254 and electron/electron#13679

Debugging improvements and bug fixes

13 Aug 22:21
Compare
Choose a tag to compare

Debugging improvements

  • Zyck (@qzyse2017)

    • Introducing a new mode for debugging called auto. In this mode, the debugging sessions will run in test mode automatically if the current active file is a test file. Otherwise this defaults to the usual debug mode. Feature Request 1780
  • Luis GG (@lggomez)

    • Errors from delve api calls are now shown in the debug console when "showLog": true is added to the debug configuration. PR 1815.
  • Ramya Rao (@ramya-rao-a)

    • 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 to dlv 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.

Others

  • Ramya Rao (@ramya-rao-a)

    • 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.
  • Darrian @(rikkuness)

    • Fix bug with permission issues when there are mutliple user accounts on the same machine by using separate tmp files. Bug 1829 fixed with PR 1835
  • Filip Stanis @(fstanis)

    • Fix error handling when the error returned by the process that runs formatting is not a string. PR 1828

Add imported package to workspace, fix for perf issues with linters and outline view, and more bug fixes

26 Jul 15:54
Compare
Choose a tag to compare

Run tests that use stretchr/testify via codelens, and option to install/update selected dependent Go tools

29 Jun 05:53
Compare
Choose a tag to compare

Conditional Breakpoints when debugging and configure alternate tools to be used by the Go extension

15 Jun 21:12
Compare
Choose a tag to compare
  • Luis GG (@lggomez)

    • 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
  • @ikedam

    • 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 to goapp when using App Engine Go
      • Map gometalinter to gometalinter.v2 if you want to use the stable version of the tool
  • Ramya Rao (@ramya-rao-a)

    • Support the new outline feature which is in preview. Bug 1725
    • Close gocode before updating and show appropriate message when failed to do so.

Cancel long running tests, use mdempsky/gocode instead of nsf/gocode and bug fix on code coverage

06 Jun 17:31
Compare
Choose a tag to compare

Support for v2 apis from delve, new linters, customizable colors in code coverage and more!

04 Jun 18:36
Compare
Choose a tag to compare

Features

Bug Fixes

Smarter snippets in auto-completions for functions and bug fixes

14 May 17:33
Compare
Choose a tag to compare

lukehoban.Go is now ms-vscode.Go!

04 May 21:00
Compare
Choose a tag to compare

The Go extension is now published under the official Microsoft VS Code publisher id. You will now find it as ms-vscode.Go instead of the previous lukehoban.Go in the Marketplace

Features and Bug Fixes in this update: