This repository has been archived by the owner on Apr 3, 2018. It is now read-only.
Releases: GoClipse/goclipse
Releases · GoClipse/goclipse
0.16.1
- Updated minimum CDT to version
9.0
(CDT from Eclipse Neon). - Removed effectively useless "Start gocode server automatically" preference.
- The GOROOT environment variable is no longer set when invoking Go tools (such as
go
,gocode
,godef
, etc.). (#214)- This causes problems with non-archive Go installations (such as those installed into
/usr/bin
), and the reason why it was set in the first place is not known - probably legacy code. Google also seems to indicate GOROOT should not be set explicitly.
- This causes problems with non-archive Go installations (such as those installed into
- Fixed: NPE when invoking Content Assist inside a comment, string or character.
- Fixed 0.16.0 regression: editor open definition hyperlink (Ctrl+click) not working. (#208)
- Fixed 0.16.0 regression: Assertion exception when opening Go files in the compare editor. (#211)
0.16.0
- Added documentation hover (
F2
or mouse-over the reference). Also documentation added to code completion popup. - Added insertion of function arguments for function code completion proposals.
- Enabled
gocode
'spropose-builtins
option, which isn't enabled by default. - Reworked the icon and label of code completion proposals and fixed some related issues. Now the icons are consistent with the Outline icons.
- Removed preference "Show error dialog if gocode failures occur" as it's no longer necessary.
- Content Assist will now distinguish between setup errors (errors that the user can fix, which are related to configuration and not the source code) and other tool errors. For setup/critical errors, a dialog will always be shown. For the other errors, if Content Assist was invoked manually, a dialog will also be shown, but if it was activated automatically the error will only be displayed in the editor status line.
- Improved
gofmt
error message. - Added: show Project Explorer error element if project is not contained in GOPATH.
- Fixed: Eclipse variables not being substituted in environment-variable values of Build Targets and launch configurations.
- Fixed: Project Explorer GOPATH elements not updated if project GOPATH settings changed.
- Fixed: Progress dialog never showing up when "Ok" pressed in LANG_NAME project properties page.
- Fixed: Erratic text cursor bug when typing in GOPATH field and gofmt field.
0.15.0
- Added support for lint build target, using
gometalinter
. (#163) - Added customization of the build command for Build Targets:
It's now possible to specify a command other than the default one (thego
tool).- Note however that Goclipse still expects the output of the command (the error messages) to be in the same format as the
go
tool (orgometalinter
).
- Note however that Goclipse still expects the output of the command (the error messages) to be in the same format as the
- Added support for invoking a specific Build Target when a GoClipse editor is saved. This is called "auto-check", and is intended for build commands that only check for compilation errors, but don't produce artifacts. This has the potential to be faster than a regular build.
- Added Building section to documentation.
- The goal for the future is to enable invoking this command on-the-fly (as the user types), although for this to be useful in practice it will likely require the compiler to support incremental compilation (or be super fast otherwise).
- Added support for modifying the environment variables of a Build Target's build command. (#191)
- The Go
oracle
tool is now theguru
tool. GoClipse has been updated to reflect this. - Improved the default names for automatically created launch configuration.
- Improved error display for Outline operation failures.
- Fixed "IllegalStateException: The service has been unregistered" on Mars.2 when Eclipse is closed.
- Fixed: Don't call editor save actions (such as
gofmt
) when Open Definition is requested.
0.14.1
- Added
godef
integration.godef
is used as an alternative to oracle for the Open Definition operation.- I wasn't able to use it extensively, but it seems to be more powerful than oracle (it can recover from some compiler errors for example), and faster. Indeed, most other Go IDEs/editors are using godef, so this bring Goclipse in line with that.
- Added "Format automatically on editor save." preference.
- gofmt preferences moved to "Go/Tools" preference page.
- Minor improvement to editor caret position preservation when invoking gofmt.
- Added signing to releases.
- Removed GOOS and GOARCH from preferences, they no longer have an apparent use.
- Removed godoc preference.
- Fixed: Incorrect icon for errors and warnings in preference page status.
- Fixed: Can't save preference pages with empty fields.
- Fixed: Problem markers for the #build-tests target would not be created for Eclipse projects inside a GOPATH entry.
0.14.0
- Added on-the-fly parser errors in the editor (uses Go
oracle
). - Added some new Snippets:
for
,foreach
,switch
,main
,apl
and a few others. - Added improved download functionality in gocode/oracle preference page.
- Pressing F2 in the editor now shows information popup for problem under cursor (same as the mouse-over hover).
- Project builder is no longer invoked when workspace "Build Automatically" setting is enabled and a file is saved. (this was considered a misfeature anyways)
- Dirty editors are now automatically saved if a build is invoked directly from a Build Target in the Project Explorer. (if the workspace "Save automatically before build" option is enabled).
- Improved Auto-Indent when Enter pressed before a closing brace.
- Added preference to control whether project location is implicitly added to GOPATH or not.
- Added gocode preference to enable/disable showing the error dialog if failures occur during Content Assist.
- Minimum and recommended CDT version is now
8.8
.
- Partially fixed outline not showing some method declarations. Now it works when editor is saved, but not if the editor is dirty. (#177)
- Fixed NPE when invoking Open Definition in a file that is available in the Eclipse workspace under more than one path/location. (#167)
- Fixed bug with Content Assist snippets using the
${word_selection}
variable. - Fixed workspace resource locking when a build is invoked directly from a Build Target in the Project Explorer.
- Fixed regression: Console view always activates when a build is invoked. (#158)
- When debugging, fixed toggling breakpoints on and off for files that are outside the workspace.
- When debugging, fixed opening source files that are are outside the workspace.
- Fixed line breakpoint icon.
- Fixed: in New Go File Wizard, "Browse" button not working.
- Fixed: "Restore Defaults" in "Go Compiler" settings page sometimes causes GOPATH field to be enabled when it shouldn't.
- Fixed: project Build Targets settings pages shows wrong default for Program Path field.
0.13.0
- Added support for Eclipse dark theme (#131). Namely:
- Syntax/source coloring now have different settings for dark theme.
- Fixed Tools Console colors, as well as content assist pop-up colors.
- Added number literals syntax highlighting. (#138)
- Syntax highlighting now works on the source compare editor/viewer.
- Added per-project compiler installation preferences. (#152)
- Newly created launch configurations now have the debug option "Stop on startup at:" set to false by default. This way debugging won't stop on the C
main
, which is essentially useless outside of C/C++.
- Fixed: Quick outline breaks when file begins with
/* */
. (#160) - Fixed: Preferences: custom setting for gofmt command is not saved. (#166)
- Fixed: AssertionFailureException pressing Enter after source with more closing braces than opening ones.
- Fixed: Unindent (Shift-Tab) broken, does nothing after empty lines in selection.
- Fixed: Outline broken, due to error "CommonException: Invalid line, out of bounds". (#156)
0.12.1
- Go build now displays GOOS and GOARCH environment variables in build/tools console, if a non-default value is set.
- Added UserGuide note about using Homebrew GDB in OS X.
- Fixed: when invoking Go toolchain programs, add tool directory to beginning of PATH, not end.
- Fixed: In Linux, the "Build Target" group UI widget height is broken, too short. (#150)
- Fixed: if build tool reports many error messages, the Eclipse project build will take too long to finish.
- Fixed: "Run As"/"Debug As" launch shortcut incorrectly matching pre-existing launch configurations.
- Fixed: project not being refreshed when Build Target build invoked directly from Project Explorer.
- Fixed: "null" text inserted when cancel pressed in "Variables..." and other dialogs.
- Fixed: Launch Configuration Main tab fields incorrectly modified when a new Build Target is selected (if Build Target is not using defaults)
0.12.0 "Candy Kingdom" Release Candidate
- Added: support for Build Targets:
- Build Targets are displayed in the Project Explorer. Here you can also configure which targets are enabled for a workspace build.
- Predefined Build Targets for Go are:
./... #build
,./... #build-tests
,./... #[run-tests]
. See the updated Build section in the UserGuide for more information. - Project Build Configuration property page updated to support configuring Build Targets.
- Note that a
./...
Build Target is not launchable. To run a Go launch, you need to specify a specific Go package.
- Added: Explicit GOPATH preference option to use the same value as the GOPATH environment variable.
- No longer required to set an explicit value for the GOOS and GOARCH preference for running tools such as Go Oracle. You can just leave those fields at the default setting.
- No longer showing error dialog when gocode fails. Now, only the editor status line is updated.
- Removed
go fix
menu operation. - Updated Configuration section in the User Guide.
- Fixed: Occasional AssertionFailure when creating new projects in nested locations (the project would not show up in Explorer).
- Fixed: Arguments field in launch configuration is not multi-line.
0.11.2
▶ Recommended/tested CDT version is now 8.7
- Fixed: Debugging not working on Eclipse 4.5 Mars (CDT 8.7), for certain platform/GDB combinations.
- Fixed: NPE launching a Go launch with a Go package that doesn't exists.
- Doc: added note about Cygwin GDB not being recommended for debugging.