Skip to content

Release 0.19.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Nov 18:40

v0.19.0 - 25 Nov, 2020

A list of all issues and changes can be found in the v0.19.0 milestone.

Community

Enhancements

  • Added a snippet for TestMain (Issue 629)
  • Added lispcase, pascalcase and keep as transform variants for go.addTags (Issue 906, 936)
  • Added support for gomodifytags's --template flag (Issue 826)
  • Language Server
    • Upgraded to the latest vscode-languageclient pre-release (Issue 42148)
  • Debugging
    • package.json: activate extension onDebugInitialConfigurations (Issue 131)

Fixes

  • Fixed test streaming output handling to correctly add -json flag (Issue 471)
  • Fixed bug that unnecessarily buffered test output (Issue 917)
  • Fixed a bug that occurred when choosing a new Go environment using the file picker (Issue 868, 864)
  • Hide running test StatusBarItem after cancelling tests
  • Tool Installation
    • Unset GOOS/GOARCH/GOROOT/... from tool installation env since the tools need to be built for the host machine (Issue 628)
    • Changed the dependency tool installation to use the go command chosen from the current GOROOT/bin for gocode-gomode too (Issue 757)
  • Filter out unsupported document types to improve VS Code Live Share experience (Issue 605)
  • Fixed language server survey computation error
  • Debugging
    • No longer shows a warning about editing Go files if there is no Go Debug Session running.
    • Now removes user set '--gcflags' before passing the program to the debugger, since the debugger adds its own flags before building resulting in an error (Issue 117)
    • Fixed bug where the working directory passed in by the user is ignored (Issue 918)

Code Health

  • Debugging
    • Added additional tests for the debug adapter including for disconnect requests and remote attach scenarios (Issue 779, 790)
    • Added tests for the debug configuration to test the user settings that should affect the debug configuration
  • Improved the extension contributor experience by renaming the test fixtures folder to avoid errors being shown for these files
  • Language Server Tests
    • Changed the test environment setup to use single file edit (Issue 655, 832)
  • Adjusted home directory used in gerrit CI since recent changes in kokoro were restricting access (Issue 833)
  • Updated Github workflows actions/setup-go to v2
  • Restructured the goTest code to be more readable and easier to test
  • Continued to improve the gopls settings documentation generator (Issue 197)

Thanks

Thank you for your contribution, @pofl, @hyangah, @perrito666, @pjweinbgo, @quoctruong, @stamblerre, @skaldesh, and @suzmue!