I finally made it to create my very first eclipse plugin! :-)
Since I'm using eclipse for most of the time I wanted to get my hands dirty also with eclipse programming!
The eclipse plugin architecture and framework is very powerful, but I can't say it's quite easy to understand... at least at the very beginning. But probably this is only the main drawback of every framework (e.g., all the GUI frameworks...) and with the right documentation, the learning curve gets better every day.
Besides the documentation you find on-line, I've been using the book Eclipse: Building Commercial Quality Plug-ins, Second Edition, by Eric Clayberg and Dan Rubel (Addison-Wesley, Second Edition, 2006), which really does a very good job in explaining the eclipse plugin architecture in many details and providing a lot of code (without which, it would be otherwise quite hard to get acquainted with eclipse programming).
The plugin I decided to develop was an editor for GNU Gengetopt files, so that I could easily write those files in all my GNU projects (which are in C++, and I'm using eclipse also for them).
As for eclipse editor programming, the book above did not help a lot... fortunately, I found some more information in the book Eclipse in Action, which is a little bit out of date, but it still contains valueable information.
Here's some more info:
You can find Gengetopt Eclipse here: http://ggoeclipse.sourceforge.net
Gengetopt Eclipse is an Eclipse plugin providing an editor for GNU Gengetopt input files.
For the moment, this editor provides syntax highlighting and code completion (new features will be added in the future).
There is currently no associated builder, since it is assumed that gengetopt files are used in projects using makefiles.
Gengetopt eclipse is free and open source, under the GNU GPL License.
InstallationAs with most eclipse plugins, the easiest way to install gengetopt eclipse is via the eclipse update manager:
- Help -> Software Updates -> Find and Install
- Search for new features to install
- New Remote Site
- Name: Gengetopt Eclipse, URL: http://ggoeclipse.sf.net/update