gonsole weeks: eclipse egit integration
While Eclipse ships with a comprehensive Git tool, it seems that for certain tasks many developers switch to the command line. This gave Rüdiger and me the idea, to start an open source project to provide a git console integration for the IDE. Rüdiger anounced the launch of this project in his post gonsole weeks: git init gonsole recently.
Since then we had to spend some time on the project’s infrastructure, but also managed to implement some first features, that actually allow to do something useful with gonsole. This post gives you a short overview of what we have achieved so far.
Gonsole integrates in the Eclipse console view and can be opened from the drop down menu:
The Interactive Git Console page starts with a prompt of the currently selected repository (which is called rose in the following screenshot) and waits to be fed with git commands. Note that the prefix ‘git’ can be omitted here. As the implementation is build upon the JGit CLI the set of available commands is already pretty complete.
Cool isn’t it? But the attentive reader surely wonders where the heck does the currently selected repository come from? From our point of view Gonsole is probably most valuable as an add-on for the EGit. Because of this it seems natural that the tool works upon those repositories that are registered within the Eclipse workspace. The command
cr can be used to change the current one:
Still, it is possible to use Gonsole standalone. To do so repositories can be configured within the Repository Locations preference page.
If you want to play around a bit with the software by yourself you can install it by this update site: http://rherrmann.github.io/gonsole/repository/
Of course the plug-in lacks stability and robustness at the time being, because some parts of the implementation are still in a quite explorative state – so be lenient
That’s it for now, let’s get back to work. And maybe the next time we can show you content proposals for commands, unless you request another feature…
Latest posts by Frank Appel (see all)
- Apache FOP Integration with Eclipse and OSGi - 20. January 2015
- Sacrilege – a Custom SWT Scrollbar - 17. December 2014
- Deferred Fetching of Model Elements with JFace Viewers - 2. December 2014