I used the weeks around the new year when there were no lectures to finish the new class generator for Anjuta. It is able to create boilerplate code for C++ and GObject classes. The challenge was to create a User Interface that makes the user not feel that it would be faster to write everything by hand and to get the GObject stuff right without querying too much redundant information.


These screenshots show the user interface. When typing into the class name entry, most other stuff is filled out automatically, so you can press directly "alt-A" to create the first class element. After having comitted an entry in the class element editor the next one is automatically selected for filling it out. To specify property or signal flags I wrote a new cell renderer (shown on the second screenshot) that works mostly like GtkCellRendererCombo but allows the user to specify multiple flags by pressing the space key on a highlighted item and pressing enter to close the popup. What the generator actually produces is the source file and the header file.
To get it, grab the latest Anjuta sources from GNOME SVN.