All Versions
72
Latest Version
Avg Release Cycle
23 days
Latest Release
1408 days ago
Changelog History
Page 7
Changelog History
Page 7
-
v0.6.53 Changes
January 30, 2017Installation 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.
- A new setting
- Ramya Rao (@ramya-rao-a)
- All the "Install tool" options (the pop ups you see) and the
Go: Install Tools
command now supportgometalinter
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 ingo.toolsGopath
- Since
- All the "Install tool" options (the pop ups you see) and the
🏗 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
- While building, we now use the
- 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
-
- 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 bego.test.package
,go.test.file
orgo.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 commandsGo: Open Test File
andGo: 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
- A new setting
-
- Show error message in output window when running test coverage fails. PR 721
Debugging improvements
- Andreas Kuhn (@ankon)
- Honor the
cwd
launch configuration argument. PR 714
- Honor the
- Ramya Rao (@ramya-rao-a)
- GOPATH set in the
env
property inlaunch.json
will also be used to finddlv
tool. PR 725.
- GOPATH set in the
- Rob Lourens (@roblourens)
- New property
trace
inlaunch.json
to provide option to have verbose logging while debugging using vscode-debug-logger. PR 753. This will help in diagnosing issues with debugging in the Go extension.
- New property
- Sam Herrmann (@samherrmann), Ramya Rao (@ramya-rao-a)
-
v0.6.52 Changes
January 05, 2017- Yuwei Ba (@ibigbug)
- Use
http.proxy
setting while installing Go tools. PR 639
- Use
- chronos (@bylevel)
- 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.
- Yuwei Ba (@ibigbug)
-
v0.6.51 Changes
November 29, 2016- Jimmy Kuu (@jimmykuu)
- Remove blank space in the end of code snippet on function suggest. PR 628
- Ahmed W. (@OneofOne)
- Remove the multiple -d flags in formatting. PR 644
- Paweł Kowalak (@viru)
- Snippet for Benchmark Test function. PR 648
- Alberto García Hierro (@fiam)
- Fix Go To Definition, Hover and Signature Help when using Go from tip. PR 655
- Cedric Lamoriniere (@cedriclam)
- Fix Generate Test for Current function when the function is a method on a type. PR 657
- Potter Dai (@PotterDai)
- Fix Find all References when using multiple GOPATH where one is the substring of the other. PR 658
- Ramya Rao (@ramya-rao-a)
- Jimmy Kuu (@jimmykuu)
-
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
- Added option to use
- Ramya Rao (@ramya-rao-a)
- lixiaohui (@leaxoy), Arnaud Barisain-Monrose (@abarisain), Zac Bergquist (@zmb3) and Ramya Rao (@ramya-rao-a)
-
v0.6.49 Changes
November 10, 2016- Ramya Rao (@ramya-rao-a)
- Revert the deprecation of
go.formatOnSave
due to popular demand.
- Revert the deprecation of
- Ramya Rao (@ramya-rao-a)
-
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 deprecatinggo.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
- Support for
- Mark LaPerriere (@marklap)
-
v0.6.47 Changes
October 26, 2016- Rob Lourens @roblourens
- Fix the regression in debugging PR #576
- Ramya Rao(@ramya-rao-a)
- Preserve focus in editor when running tests PR #577
- Rob Lourens @roblourens
-
v0.6.46 Changes
October 26, 2016- Ramya Rao(@ramya-rao-a)
- Rob Lourens @roblourens
- Use random port number while debugging PR #553
-
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
- New configuration
- Dan Mace (@ironcladlou
- Cedric Lamoriniere (@cedriclam)
- New commands to generate unit test skeletons using
gotests
tool. Needs Go 1.6 or higher. PR #489Go: Generate unit tests for current file
Go: Generate unit tests for current function
Go: Generate unit tests for current package
- New commands to generate unit test skeletons using
- 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 sincegolint
dropped support for Go 1.5 PR #509 - Fix broken installation for
goimports
. PR #470 and PR #509
- New configuration
- Arnaud Barisain-Monrose (@abarisain)
- Fix broken installation for
goreturns
in Windows. PR #463
- Fix broken installation for
- Ludwig Valda Vasquez (@bredov)