All Versions
Latest Version
Avg Release Cycle
19 days
Latest Release
2282 days ago

Changelog History
Page 2

  • v0.6.65 Changes

    September 06, 2017

    Seonggi Yang (@sgyang)

    • πŸ“¦ Bug #1152: Auto completions for unimported packages do not work anymore on certain machines. PR 1197

    Ramya Rao (@ramya-rao-a)

    • πŸ”§ Bug #1194 and Bug #1196: Debugger doesnt use GOPATH from env in debug configuration
    • Go to implementation cmd doesnt show up when using the language server.
  • v0.6.64 Changes

    September 05, 2017
    • Dan Mace (@ironcladlou), Vincent Chinedu Okonkwo (@codmajik) & Dima (@hummerd)
    • Craig-Stone (@Craig-Stone)
      • Normalize program path in Windows which otherwise prevented breakpoints from being set correctly when remote debugging. PR 1131
    • Marwan Sulaiman (@marwan-at-work)
      • Refactor the code behind Go: Browse Packages to make browsing selected package faster. PR 1136
    • Thomas Darimont (@thomasdarimont)
      • A new snippet called helloweb that generates a web app with an http endpoint returning a greeting and current time. PR 1113
    • Nuruddin Ashr (@uudashr)
      • Refactor the way test output is shown to show output of log.Println. Fixes Issue #1120 with PR 1124
    • Ramya Rao (@ramya-rao-a)
      • Test Improvements
        • Show test coverage after the command Go: Test Package is run. You can disable this by setting go.coverOnTestPackage to false.
        • Show test coverage even if files are outside of GOPATH. Fixes Issue #1122
        • Decouple running test coverage on save from running build/lint/test on save. Fixes the issue where the problems view was not getting updated until go.coverOnSave was disabled.
      • Debugging Improvements
        • No need to set GOPATH in debug configuration in the launch.json file anymore. When no GOPATH is provided this way, the debug adapter will now infer the GOPATH based on the path of the file/package being debugged. This fixes Issue #840.
        • The debug code lens will now honor the go.buildFlags, go.buildTags and go.testFlags settings. Fixes Issue #1117
        • Fix issue with stepping over standard library code when remote debugging in Windows. Fixes Issue #1178
      • Other Bug Fixes
  • v0.6.63 Changes

    July 26, 2017

    πŸ”‹ Features

    • Ian Chiles (@fortytw2)
      • Option to use megacheck as a linting tool which 🐎 can have significantly better performance than gometalinter, while only supporting a subset of the tools. Use the setting go.lintTool to try this.
    • alexandrevez (@alexandrevez)
      • Option to highlight gutters rather than full text for code coverage. Use the new setting go.coverageDecorator to try this.
    • Ramya Rao (@ramya-rao-a) & Marwan Sulaiman (@marwan-at-work)
      • Browse packages and go files with new command Go: Browse Packages. Feature Request 330
        • If cursor is on an import statement, then files from the imported package will be shown in the quick pick control
        • Else, all packages are shown in the quick pick control. Select any and corresponding Go files will be shown next.
        • Selecting any of the Go files, will open the file in a new editor.
    • Saud Khan (@bidrohi)
      • Print import paths of Go tools as they get installed. PR 1032
    • Ramya Rao (@ramya-rao-a)
      • Prompt to update dependent Go tools when there is a change in the Go version. Feature Request 797
      • Better user experience when dependent Go tools are missing. Feature Request 998
        • Prompts will only show up for tools that are used for features that are explicitly executed by the user. Eg: Rename, Generate Unit Tests, Modify tags. And not for features that get triggered behind the scenes like linting, hover or format on save.
        • When the prompts do show up, closing them will ensure that they wont show up for the duration of the current session of VS Code.

    πŸ› Bug Fixes

    • llife0915 (@llife0915)
      • Fix for issue when unverified breakpoints appeear when creating/deleting breakpoints once debugging starts in Windows.
    • Roman Peshkov (@rpeshkov)
      • Expand file names to file paths in test output for subtests. Bug 1049
    • Guilherme Oenning (@goenning)
      • Pass GOPATH to debug adapter when debugging tests via codelens. Bug 1057
    • Nuruddin Ashr (@uudashr)
      • Skip testing vendor folders when using the command Go: Test all Packages in Workspace
    • Ramya Rao (@ramya-rao-a)
      • Start without debugging should fallback to debug mode when configured program is not a file. Bug 1084
      • Fix for incorrect package name during autocomplete of unimported packages when package name is not the same as the last part of the import path. Bug 647
      • Skip building vendor folders when go.buildOnSave is set to workspace. Bug 1060
      • Honor go.buildTags when using gogetdoc. Bug 1024
      • Fix build failure when -i is passed as a build flag. Bug 1064
      • Fix vet failure when any flag is passed. Bug 1073
      • Better formatting in import blocks when imports get added during auto-completion or when Go: Add Import command is used. Bug 1056
      • Go: Generate Interface Stubs should work when interface is prefixed with package path
  • v0.6.62 Changes

    June 09, 2017

    πŸ”‹ Features

    • Jamie Stackhouse (@itsjamie)
      • New command Go: Generate interface stub to generate stubs that implement given interface using impl. PR 939
        • When the command is run, you are prompted to provide interface name. Eg: f *File io.Closer
        • The stubs are then generated where the cursor is in the editor.
    • Guilherme Oenning (@goenning)
      • New setting go.testEnvFile to configure the location of a file that would have environment variables to use while running tests. PR 971
        • File contents should be of the form key=value.
        • Values from the existing setting go.test.EnvVars will override the above
        • These environment variables will also be used by the "Debug Test" codelens
        • When debugging using the debug viewlet or pressing F5, the above will not be used. Continue to use the env and/or envFile property in the debug configurations in the launch.json file.
    • Ole (@vapourismo)
      • You can now run build/lint/vet on the whole workspace instead of just the current package on file save. PR 1023
        • To enable this, the settings go.buildOnSave, go.lintOnSave and go.vetOnSave now take values package, workspace or off instead of the previous true/false.
        • These features are backward compatible and so if you are still using true/false for these settings, they will work as they did before, but you will get a warning in your settings file.
    • Ramya Rao (@ramya-rao-a)
      • Better build performance when working on main packages and test files by using the -i flag.
      • Better linting experience while running gometalinter by using the --aggregate flag which aggregates similar errors from multiple linters.

    πŸ› Bug Fixes

    • Ramya Rao (@ramya-rao-a)
      • Fix for Bug 968 where rename fails if --- is anywhere in the file
      • Fix for Bug 981 where Go: Test Function At Cursor fails.
      • Fix for Bug 983 where the Go binary is not found in MSYS2 as it is not located in GOROOT.
      • Fix for Bug 1022 where snippets from function auto complete do not insert the placeholders
      • Fix for Bug 962 where references codelens wouldnt work for methods.
    • F0zi (@f0zi)
      • Fix for Bug 1009 where remote debugging fails to verify breakpoint if GOPATH partially matches remote GOPATH
    • Anton Kryukov (@Emreu)
      • Use the go.testEnvVars while debugging tests using codelens
  • v0.6.61 Changes

    May 04, 2017
    • Ramya Rao (@ramya-rao-a)
      • Fix for Bug 963 Fix for perf issues when references codelens is enabled. Commit 352435a
      • Fix for Bug 964 The setting go.referencesCodeLens.enabled is deprecated in favor of go.enableCodeLens to control multiple types of codelens. json "go.enableCodeLens": { "references": false, "runtest": true }
  • v0.6.60 Changes

    May 03, 2017

    βœ… Codelens for references, to run and debug tests

    βœ… Test Coverage

    • Thomas Bradford (@kode4food)
      • New setting go.coverageOptions to control whether you want to highlight only covered code or only uncovered code or both when code coverage is run. PR 945
    • Ramya Rao (@ramya-rao-a)
      • The command Go: Test Coverage In Current Package is renamed to Go: Toggle Test Coverage In Current Package and it does exactly what the name suggests. Toggles test coverage. Commit cc661daf

    πŸ› Bug Fixes

    • Ramya Rao (@ramya-rao-a)
      • Fix for Bug 529 Code completion for unimported packages now works on unsaved file after deleting imports.
      • Fix for Bug 922 Go to Symbol in File feature now includes symbols from unsaved file contents. PR 929
      • Fix for Bug 878 Debugging now works on current file even when there is no folder/workspace open. Commit 42646afc
      • Fix for Bug 947 Mac users using the latest delve from master may see that all env variables are empty while debugging their code. This is due to delve using the --backend=lldb option in Mac by default. You can now change this default value by setting the backend property to native in the launch.json file. Commit 4beecf1. Root cause is expected to be fixed in delve itself and is being tracked in derekparker/delve/818
    • Tyler Bunnell (@tylerb)
      • Fix for Bug 943 Live error reporting now works across multiple files in the current package, mapping errors to the correct files. PR 923
    • Guilherme Oenning (@goenning)
      • Fix for Bug 934 Environment variables from envFile attribute in the launch.json file is used while debugging and is overridden only by the ones in the env attribute. PR 935


  • v0.6.59 Changes

    April 04, 2017
    • Tyler Bunnell (@tylerb)

      • Add live error feedback using gotype-live which is gotype with support for unsaved file contents. PR 903
        • New setting go.liveErrors controls this feature.
        • Set "go.liveErrors": { "enabled": true } to enable this feature
        • Edit the delay property in "go.liveErrors": { "enabled": true, "delay": 500 } to update the delay (in milliseconds) after which gotype-live would be run post a keystroke
    • Eon S. Jeon (@esjeon)

      • GOPATH from settings is now honored when users debug current file without having a launch.json file. PR 904
        • Note: Once you have a launch.json file, GOPATH from settings wont be read. You will need to set it in the env property as before
    • Ramya Rao (@ramya-rao-a)

      • --config flag for gometalinter now supports the use of ${workspaceRoot} and ~ that allows users to provide config file path relative to workspace or home directory respectively. PR 909
      • New command Go: Test All Packages in Workspace to run tests from all packages in the workspace.
  • v0.6.57 Changes

    March 30, 2017

    πŸ›  Fix for Bug 892 which breaks build when the user has multiple GOPATHs and the Go project being worked on is not the first one among the multiple GOPATHs. Commit d417fd6

  • v0.6.56 Changes

    March 29, 2017

    Editing improvements

    • Ramya Rao (@ramya-rao-a)
      • Use gomodifytags to add/remove tags on selected struct fields. PR 880
        • If there is no selection, then the whole struct under the cursor will be selected for the tag modification.
        • Go: Add Tags command adds tags configured in go.addTags setting to selected struct fields. By default, json tags are added. Examples:
          • To add xml tags, set go.addTags to {"tags": "xml"}
          • To add xml with cdata option, set go.addTags to {"tags": "xml", "options": "xml=cdata"}
          • To add both json and xml tags, set go.addTags to {"tags": "json,xml"}
        • Go: Remove Tags command removes tags configured in go.removeTags setting from selected struct fields.
          • By default, all tags are removed.
          • To remove only say xml tags, set go.removeTags to {"tags": "xml"}
        • To be prompted for tags instead of using the configured ones, set go.addTags and/or go.removeTags to {"promptForTags": true}
      • Fix rename issue when diff tool from Git or Cygwin are in the PATH in Windows. PR 866
      • Keywords are now supported in completion suggestions. PR 865
      • Suggestion items to import packages disabled in single line import statements and the line with package definition where they do not make sense. PR 860

    Debugging improvements

    • Ramya Rao (@ramya-rao-a)
      • Support to build and run your Go file. PR 881
        • Press Ctrl+F5 or run the command Debug: Start Without Debugging to run using the currently selected launch configuration.
        • If you don't have a launch.json file, then the current file will be run.
        • Supported only for launch configs with type as debug and program that points to a Go file and not package
      • New envFile attribute in launch.json where you can provide a file with env variables to use while debugging. PR 849
      • Use current file's directory instead of folder opened in VS Code to debug in the default configurations. Commit 0915e50a

    Tooling improvements

    • Ramya Rao (@ramya-rao-a)
      • New Setting go.languageServerFlags that will be passed while running the Go language server. PR 882
        • Set this to ["trace"] to see the traces from the language server in the output pane under the channel "go-langserver"
        • Set this to ["trace", "logfile", "path to a text file to log the trace] to log the traces and errors from the language server to a file.
      • Go: Install Tools command now installs delve as well in Linux and Windows, but not in Mac OSX. Commit 30ea096 Fixes Bug 874
    • netroby @netroby
      • Go: Install Tools command now installs godoc. PR 854


    • Ramya Rao (@ramya-rao-a)
      • Use GOPATH as defined by the go env output as default. Use go binary from default platform specific locations when GOROOT is not set as env variable. Fixes Bug 873
      • Fix compiling errors for vendor packages in case of symlinks. PR 864
      • Support links in the test output, which then navigates the user to the right line of the test file where tests are failing. PR 885
      • Experimental new setting go.editorContextMenuCommands to control which commands show up in the editor context menu.
    • Albert Callarisa (@acroca) and Ramya Rao (@ramya-rao-a)
      • New setting go.gotoSymbol.ignoreFolders that allows to ignore folders while using the "Go to Symbol in Workspace" feature. This takes in an array of folder names (not paths). Best used to ignore vendor folders while doing a workspace symbol search. PR 795
  • v0.6.55 Changes

    March 03, 2017
    • 🏁 Re-publishing the extension from a non Windows machine as the fix for Bug 438 worked only on Windows machines. For details read the discussion in PR 838.