All Versions
Latest Version
Avg Release Cycle
23 days
Latest Release
987 days ago

Changelog History
Page 7

  • v0.6.53 Changes

    January 30, 2017

    Installation improvements

    • Sam Herrmann (@samherrmann), Ramya Rao (@ramya-rao-a)
      • A new setting go.toolsGopath for providing an alternate location to install all the Go tools that the extension depends on, if you don't want them cluttering your GOPATH. PR 351 and PR 737.
        • This is useful when you work on different GOPATHs.
        • Remember to run Go: Install Tools command to install the tools to the new location.
    • Ramya Rao (@ramya-rao-a)
      • All the "Install tool" options (the pop ups you see) and the Go: Install Tools command now support gometalinter if it is your chosen linting tool. PR 735.
        • Since gometalinter internally installs linters and expects them to be in the user's GOPATH, gometalinter will get installed to your GOPATH and not the alternate location specified in go.toolsGopath

    🏗 Build improvements

    • Matt Aimonetti (@mattetti)
      • While building, we now use the -i flag (for non main packages) which installs dependent packages, which in turn get used in subsequent builds resulting in faster builds in bigger workspaces. PR 718
    • Ramya Rao (@ramya-rao-a)
      • Build errors with no line numbers (for eg. Import cycle) are now displayed in the output window and will be mapped to the first line of the file. PR 740

    ✅ Test improvements

    • Ramya Rao (@ramya-rao-a)

      • A new setting go.testFlags that can be used to run tests. If null, go.buildFlags will be used. PR 482
      • Customize flags for each of the test command by using different keybindings. PR 482. In the below example, ctrl+shift+t is bound to run the tests in current file with -short flag. The commands here can be go.test.package, go.test.file or go.test.cursor.

            "key": "ctrl+shift+t",
            "command": "go.test.file",
            "args": {
                "flags": ["-short"]
            "when": "editorTextFocus"
      • New toggle command Go: Toggle Test File that lets you toggle between your Go file and the corresponding test file. Previous commands Go: Open Test File and Go: Open Implementation For Test File have been deprecated in favor of this new command. PR 739. You can add a keyboard binding to this as below:

            "key": "ctrl+shift+t",
            "command": "go.toggle.test.file",
            "when": "editorTextFocus && editorLangId == 'go'"
      • If current file is not a test file, show error message while running test commands, instead of displaying success message. Fixes #303

    • Marcel Voigt (@nochso)

      • Show error message in output window when running test coverage fails. PR 721

    Debugging improvements

  • v0.6.52 Changes

    January 05, 2017
    • Yuwei Ba (@ibigbug)
      • Use http.proxy setting while installing Go tools. PR 639
    • chronos (@bylevel)
      • Bug #465 Fix file outline when non English comments in file. PR 699
    • Ramya Rao (@ramya-rao-a)
      • Implement Step Out in debgging Commit 6d0f440
      • Improve performance by reducing number of calls to godoc, godef, gogetdoc. PR 711
      • Default value for go.autocompleteUnimportedPackages is now false to reduce noise in the suggestion list. Members of unimported packages will still show up in suggestion list after typing dot after package name.
  • v0.6.51 Changes

    November 29, 2016
  • v0.6.50 Changes

    November 21, 2016
    • lixiaohui (@leaxoy), Arnaud Barisain-Monrose (@abarisain), Zac Bergquist (@zmb3) and Ramya Rao (@ramya-rao-a)
      • Added option to use gogetdoc for Goto Definition , Hover and Signature Help features. PR 622 To use this, add a setting "go.docstool": "gogetdoc" to your settings and reload/restart VS Code. This fixes the below bugs
        • #440 Hover info does not show doc string for structs
        • #442 Goto Definition, Hover, Signature Help do not work for net package
        • #496 Goto Definition, Hover, Signature Help do not work for Dot imported functions
        • #515 Go to definition and type info doesn't work with mux.Vars or anything else from gorilla/mux
        • #567 Signature Help and Quick Info do not show function comments for unexported functions
    • Ramya Rao (@ramya-rao-a)
      • Revert changes done in the formatting area in 0.6.48 update. Fixes below bugs
        • #613 Format removes imports of vendored packages in use
        • #630 goreturns fails to consider global variables in package
  • v0.6.49 Changes

    November 10, 2016
  • v0.6.48 Changes

    November 09, 2016
    • Mark LaPerriere (@marklap)
      • Snippets for method declaration, main and init functions PR 602
    • Rob Lourens @roblourens
      • launch.json intellisense to include all "mode" values. Fixes #574
    • Ramya Rao (@ramya-rao-a)
      • Support for editor.formatOnSave and deprecating go.formatOnSave PR 578
      • Remove deprecated language configuration settings PR 587
      • Feature Request 432: Commands to switch to test file and back. PR 590. You can add your own shortcuts for these commands.
        • Go: Open Test File
        • Go: Open Implementation for Test File
      • Navigate to test file after generating unit tests using the Go: Generate unit tests ... commands. PR 610
      • Prompt to set GOPATH if not set already PR 591
      • Improvements to auto complete
        • #389 Fix issue with autocomplete popping up at the end of a string PR 586
        • #598 Importable packages in auto complete should appear after rest of the suggestions. PR 603
        • #598 Importing vendored packages from other Go projects should not be allowed. PR 605
        • #598 When there is an identifier with same name as an available package, do not show the package in the compeltion list PR 608
      • Other Bug Fixes
        • #592 Use Go from GOROOT while installing tools PR 594
        • #585 Use fs.stat instead of fs.exists to avoid mistaking "go" folder as "go" file PR 595
        • #563 Dont run gotests on non Go files PR 584
  • v0.6.47 Changes

    October 26, 2016
  • v0.6.46 Changes

    October 26, 2016
  • v0.6.45 Changes

    October 17, 2016
  • v0.6.44 Changes

    October 12, 2016
    • Ludwig Valda Vasquez (@bredov)
      • New configuration go.formatFlags to pass flags to the formatting tool PR #461
    • Dan Mace (@ironcladlou
      • New command to execute the last run test. The command is Go: Test Previous PR #478
      • Send test output to a distinct output channel PR #499
    • Cedric Lamoriniere (@cedriclam)
      • New commands to generate unit test skeletons using gotests tool. Needs Go 1.6 or higher. PR #489
        • Go: Generate unit tests for current file
        • Go: Generate unit tests for current function
        • Go: Generate unit tests for current package
    • Ramya Rao (@ramya-rao-a)
      • New configuration go.testEnVars to pass environment variables to Go tests PR #498
      • Changes made to GOROOT and GOPATH via settings now take effect immediately without requiring to reload/restart VS Code PR #458
      • Go extension ready to use after installing tools without requiring to reload/restart VS Code PR #457
      • Enable Undo after Rename. PR #477. Needs diff tool which is not available on Windows by default. You can install it from DiffUtils for Windows
      • Autocomplete for functions from unimported packages and for unimported packages themselves. To enable this set go.autocompleteUnimportedPackages to true. PR #497
      • Do not allow to import already imported packages via the Go: Add Import command. PR #508
      • Suggest gometalinter to Go 1.5 users since golint dropped support for Go 1.5 PR #509
      • Fix broken installation for goimports. PR #470 and PR #509
    • Arnaud Barisain-Monrose (@abarisain)
      • Fix broken installation for goreturns in Windows. PR #463