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: https://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…
Specialized in the Java language and focused on quality-oriented agile paradigms he is a stalwart of test-driven practices in particular.
He understands the creation process of software as a craftsmanship based on a well-balanced mix of knowledge and the experience of the daily work.
Latest posts by Frank Appel (see all)
- Clean Sheet Update for Eclipse Neon - 23. June 2016
- OS X Sprout of the Ergonomic Eclipse Theme Clean Sheet - 21. March 2016
- Testing with JUnit: E-Book Xmas Offering for Less than 6$ - 22. December 2015