gopls/v0.6.10
stamblerre
released this
13 Apr 20:30
·
3205 commits
to master
since this release
gopls/v0.6.10
Features
t.Fatal
snippet
If you trigger completion in a test function, on the line after a call to a function that returns an error, you will be offered a completion snippet for:
if err != nil {
t.Fatal(err)
}
See the example below:
Experimental
Postfix completion snippets
Postfix completions are a new style of completions that can save you time by inserting more complex pieces of commonly-written code. All of the results end with !
. Enable this feature by setting "ui.completion.experimentalPostfixCompletions": true
.
See this example:
Fixes
A full list of all issues fixed can be found in the gopls/v0.6.10 milestone. To report a new problem, please file a new issue at https://golang.org/issues/new.
Thank you to our contributors!
@marwan-at-work @soluchok @zchee @ShoshinNikita @Makima0 @muirdm @steeve