Releases: joefitzgerald/go-plus
v6.1.0
- support
revive
andgolangci-lint
linters (#819) - create the go-plus panel only when a go file is opened or it is manually toggled (#853)
- fix minor UI glitch in datatips that contain ` (like in tags)
- write a detailed error log into a console tab (e.g. provided by atom-ide-ui) if a command failed (#837)
Detailed changes: v6.0.2...v6.1.0
v6.0.0
In this release we take advantage of many of the features provided by atom-ie-ui
.
As a result, some of the custom go-plus views and commands have been replaced by the features built-in to Atom's IDE functionality.
This will provide a more consistent experience across the Atom ecosystem, and will enable an easy transition as we move to a language-server based implementation.
Code Formatting
The individual commands for formatting with goimports
, gofmt
, and goimports
have been removed. The go-plus.format.tool
configuration option still applies, and all format operations will use the configured tool for formatting.
The format command itself is now provided by atom-ide-ui
, and can be triggered via one of the following mechanisms:
- right clicking in the editor and selecting "Format Code"
- keybinding (
cmd
+option
+C
by default) - command palette:
Code Format: Format Code
Additionally, the go-plus.format.formatOnSave
configuration option has been removed so as not to conflict with the built-in setting. To enable format on save, open the preferences for the atom-ide-ui
package, and select the checkbox under Code Formatting.
Usage
The Usage panel and the golang:find-usage
command have been removed. Instead, you can leverage the built-in "Find References" option. This is available in the context menu when right-clicking on an identifier, and can also be accessed via the Find References: Activate
command.
Code Highlighting
Highlighting of an identifier with the go-plus.guru.highlightIdentifiers
option is now powered by atom-ide-ui
. You should not notice any difference in behavior aside from a slightly different appearance.
Datatips
🆕 You can now view the documentation for an identifier by simply hovering over it.
Detailed changes: v5.9.1...v6.0.0
v5.9.0
- Restore Hyperclick functionality
- Show the definition in a tooltip on command+hover
- Display relative paths in the usage view
- Add a setting for build timeout
- Better compatibility with github.com/mdempsky/gocode
- Improve support for Go 1.10+:
- Property utilize the
-i
flag to play nice with the build cache - Disable Go modules when running
go get
so as not to interfere with a project's dependencies
- Property utilize the
Detailed changes: v5.8.6...v5.9.0
v5.8.4
- Correctly display results for
golang:find-usage
when there is no usage of the function
Detailed changes: v5.8.3...v5.8.4
v5.8.3
v5.8.2
- ✨ Show autocomplete suggestions when the new
tree-sitter
parsers are being used (enable thecore.useTreeSitterParsers
setting) - 🔤 Document new tools that
go-plus
uses (useful if you need to install them manually)
Detailed changes: v5.8.1...v5.8.2
v5.8.1
v5.8.0
- 🚫 Add
go-plus.config.compileOnSave
option (defaults totrue
) to allow you to disable build on save (fixes #674 and #675 by @zmb3) - 📢 When a package only contains tests, ignore the
no non-test Go files
warning (fixes #732 via #734 by @lloiser) - 🚀 Fix compatibility issues with the new but experimental parser
tree-sitter
(core.useTreeSitterParsers
in your atom config)
Detailed changes: v5.7.2...v5.8.0
v5.7.2
- Disable autocomplete suggestion caching; cursor movements (mouse clicking, arrowing) resulted in stale results (re-introduced in v5.8.0)
Detailed changes: v5.7.1...v5.7.2
v5.7.1
- 🐛
atom-babel6-transpiler
was adevDependency
but needed to be adependency
Detailed changes: v5.7.0...v5.7.1