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

Releases: microsoft/vscode-go

Fixes for few regressions and other bugs

27 Sep 22:54
Compare
Choose a tag to compare

Bug Fixes

  • Ramya Rao (@ramya-rao-a)

    • Fix for bug 2766 where the Go: Test All Packages In Workspace command failed to run tests since the last update.
    • Fix for bug 2765 where the Go: Build Workspace command failed to run the build command since the last update
    • Fix for bug 2770 where failure to find the path to the go binary results in gopls results in the extension throwing error & not working as expected since the last update
    • Use go vet . instead of go vet ./... when vetting current package for better performance.
  • Quoc Truong (@quoctruong)

    • Fix for bug where remote debugging failed if the configured remote path was just /. Fixes Bug 2119 with PR 2794
  • Joel Hendrix (@jhendrixMSFT)

    • Respect the stopOnEntry debug configuration by providing a dummy thread when no threads exist. Fixes Bug 763 with PR 2762

Skip call to proxy.golang.org to determine latest version of gopls

21 Sep 19:04
Compare
Choose a tag to compare

The prompt to update your gopls that was introduced in the previous update, relied on making calls to https://proxy.golang.org.
In this patch release, we replace such calls with a check against a known hard-coded value for the latest version of gopls. Details on the next steps here are captured in the issue 2776

Debugging & Tooling improvements!!!

19 Sep 23:03
Compare
Choose a tag to compare

Debugging improvements

  • Quoc Truong (@quoctruong)

    • Fix the bug where setting breakpoint fails if the remote program is started through dlv with --continue switch. Bug 2690
    • Fix the bug where disconnecting (after attaching to) the remote program terminates it Bug 2592
    • Fix the bug where setting breakpoint will fail if a breakpoint already exists (if dlv is started through multi client and another client sets the breakpoint).
  • Hary Prabowo Suryoatmojo (@haryps)

    • Show a warning if an edit to a Go file is saved when a debug session is active. Fixes Bug 2559 with PR 2653

Tooling improvements

Allow go.goroot to be configured at workspace level

10 Jul 01:43
Compare
Choose a tag to compare
  • Ramya Rao (@ramya-rao-a)
    • Revert marking go.goroot setting to be of scope machine in order to support it to be configured at worksapce level. More in this is discussed at 2576.

Allow go.goroot to be configured at workspace level

07 Jul 19:03
Compare
Choose a tag to compare
  • Ramya Rao (@ramya-rao-a)

    • Revert marking go.goroot setting to be of scope machine in order to support it to be configured at worksapce level. More in this is discussed at 2576.
    • Support custom arguments when running tests by passing them after -args in go.testFlags setting. Fixes Bug 2457
  • James George (@jamesgeorge007)

    • Update README to contain Table of Contents. PR 2634

Allow go.gopath and go.toolsGopath to be configured at workspace level

06 Jul 02:36
Compare
Choose a tag to compare
  • Ramya Rao (@ramya-rao-a)

    • Mark only go.goroot and not go.gopath, go.toolsGopath setting to be of scope machine in order to support the latter two to be configured at worksapce level. More on this is discussed at 2576.
  • Daniel Mundt (@dmundt)

    • Update the banner color to have a beter color contrast witht he new logo in the marketplace. PR 2631

New Go logo for the extension and bug fixes!

03 Jul 03:14
Compare
Choose a tag to compare
  • Daniel Mundt (@dmundt)

    • Update the extension to use new Go logo! PR 2582
  • Cooper Maruyama (@coopermaruyama)

    • The values in the go.testEnvVars setting should override the ones in the file specified in the go.testEnvFile setting rather than the other way around. Fixes Bug 2398 with PR 2585
  • Benjamin Kane (@bbkane)

    • Add link to all the code snippets provided by the extension in the README. PR 2603
  • Ramya Rao (@ramya-rao-a)

    • Support the output attribute in the debug configuration when mode is set to test. Fixes Bug 2445 with commit 373f0743
    • Fix bug that got introduced in the previous update where nested variables show empty values when debugging. Fixes Bug 2601 with commit e89118e42
    • Warnings regarding the inability to find the go binary in the PATH environment variable now includes the value of the PATH being checked.
    • The prompt to choose goimports instead of the default goreturns as the formatting tool when using modules without the language server, now
      has the option to not be shown again for cases when you don't want to use goimports. Fixes Bug 2578 with commit 658db8d4
    • Avoid unwanted prompt to re-compile tools when current goroot is different from the previous only in terms of casing. Fixes Bug 2606 with commit b0a2d2d
    • Preserve text highlighting as part of code coverage in multiple editor groups. Fixes Bug 2608 with commit 0de7e94e
    • Update code coverage decorators in the visible editor immediately after corresponding setting is changed rather than wait for focusing on the editor. commit 86df86fd6

Support for attaching to a local process and detaching without killing it!!

18 Jun 02:20
Compare
Choose a tag to compare

Patch release to enable auto-import on file save and other bug fixes

30 Apr 17:10
Compare
Choose a tag to compare

This patch release has fixes for the below bugs

  • Bug 2469: When the setting go.autocompleteUnimportedPackages is enabled,
    packages show up in completion list when typing . after a variable or existing package.
  • Bug 2473: Adding of missing imports and removal of unused imports don't work on saving file after using gopls.

Patch release with fixes for high cpu usage when language server is chosen

25 Apr 05:11
Compare
Choose a tag to compare

This patch release has fixes for the below bugs

  • Bug 2459: gopls crashes when -trace is set in the go.languageServerFlags setting
  • Bug 2461: Extension uses high CPU due to being stuck in an infinite loop when go.useLanguageServer is set to true, but no language server can be found
  • Bug 2458: Reference to GOPATH when dependent tools are missing misleads users to think that they need GOPATH for the extension to work