New auto-completion engine in anjuta
24. November 2009
The great people from gedit/gtksourceview finally implemented a new completion engine for GtkSourceView which allows us to drop lot of ugly custom code in Anjuta. But it also has some cool features:
- Combine auto-completions from different sources (called “providers”)
- Add auto-completions in an asynchronous way
- Support to add extra information to the auto-completions
For now, Anjuta uses only the first two but it’s really planned to add API Help for symbols.
Despite having a more stable and tested code and a nicer UI that means that he will never be disturbed while typing because the editor is searching for auto-completions to appear. Instead all this now happens in background and it really feels fast. This also gives us a possibility to add macros/snippets directly into the auto-completion framework. Screenshot:
There are also some other interesting things coming soon:
- a better engine for C++ (auto-completion of class-members, etc.)
- GSoc JavaScript plugin which needs to be merged
- a new bison/flex based automake parser as project-manager backend (probably won’t be finished until 3.0)
- a completely rewritten git UI
GtkNotebook action widgets
9. November 2009
Remember the good old days when bug nummers started with 1xxxxx? Well, now we have one bug less in this area, GtkNotebook finally supports widgets in the tabs area:
(Note that the buttons here are just examples and this was done mainly for testing purposes).
Why could this be useful:
- Firefox-style “Add tab”-buttons
- Saving space when dealing with notebooks that have a constant (and low) page number
- probably much more
There is nothing in the HIG yet of course and you should use it with care. I hope it’s useful though.
Credits go to Carlos Garnacho for the original patch and to Mathias Clasen for reviewing my patch and adding GtkBuilder support. Also thanks to Openismus for letting me finish this!

