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

Releases: microsoft/vscode-go

Language server support for modules, debugging improvements and more

23 Apr 19:05
Compare
Choose a tag to compare

Go Modules support improvements

New features

Debugging improvements

Others

0.9.2

24 Apr 16:33
Compare
Choose a tag to compare
Release 0.9.2

Pause debugging, add/remove breakpoints while debugging and whole lot of other improvements to the debugging process along with code navigation improvements in module mode

06 Feb 22:27
Compare
Choose a tag to compare

Debugging improvements

Others

Set variables, see pointer values, use paging in stack trace when debugging, improved modules support and more!

13 Dec 01:50
Compare
Choose a tag to compare

Modules

  • Rebecca Stambler (@stamblerre)

    • Support modules when GO111MODULE is explicitly set inside GOPATH. Fixes Bug 1944 with PR 2156
  • Ramya Rao (@ramya-rao-a)

    • Support Go to Definition feature when using modules even when VS Code is not started from the same path as the project.
    • Support Go to Definition feature on a symbol from a file from module cache.

Debugging

Code Navigation

Diagnostics

Testing

Others

Docs in auto-completion widget, Language server support in Windows and more!

07 Nov 00:31
Compare
Choose a tag to compare

Features:

Engineering Updates

Documentation Updates By

Fix bug with install/update of Go tools

18 Oct 18:41
Compare
Choose a tag to compare

Fix for issue with installing/updating tools when using the Go: Install/Update Tools command.
Bug 2024 fixed by Kaarthik Rao Bekal Radhakrishna (@karthikraobr) and Ramya Rao (@ramya-rao-a)

Hacktoberfest!

17 Oct 20:52
Compare
Choose a tag to compare

Documentation Updates

Engineering Updates

Code coverage and few other fixes, when using Go modules

10 Oct 18:44
Compare
Choose a tag to compare

Auto-completion, Go to definition features when using Go modules, commands to run all benchmarks in file and package, using v2 of delve api by default, and more!

03 Oct 21:37
Compare
Choose a tag to compare

Read our wiki on Go modules in VS Code which tracks the progress of Go modules support.

  • Rebecca Stambler @stamblerre

    • Use of forks for the tools godef and gocode to provide Go to definition and Auto-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.
  • 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
  • Jeffrey Bean @jeffbean

    • New setting go.generateTestsFlags to provide flags for the gotests tool when generating tests. PR 1841
  • Johan Lejdung @johan-lejdung

    • New setting go.testTags to be used for running tests. This way, you can use the existing go.buildTags for compiling and a different set of tags for running tests. Feature Request 1842 implemented with PR 1877
  • Ryan Gurney @ragurney

  • Benas Svipas @svipben

    • Fix accessibility issues with the Analysis Tools Missing button in the status bar. PR 1922
  • Alec Thomas @alecthomas

  • Charles Kenney @Charliekenney23

    • Create new tmp directory for each session to avoid insecure use of the temporary files created by the extension. Fixes Bug 1905 with PR 1912
  • Shreyas Karnik (@shreyu86)

    • Provide auto-completions for symbols from unimported packages even when the package name has multiple matches. Fixes Bug 1884 with PR 1900
  • Ramya Rao (@ramya-rao-a)

    • 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 with apiVersion. Feature Request 1876
    • Prompt to update gogetdoc and gopkgs 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 file
      • Go: Browse Packages command that lets you browse available packages and their files
      • Auto-completion of unimported packages when go.autocompleteUnimportedPackages setting is enabled.

Watch package variables when debugging and getting ready for Go 1.11 ....

30 Aug 18:34
Compare
Choose a tag to compare
  • 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.