Hi there!
Finally I did it myself since I waited long enough... I have created a plugin for creator that formats your code with the great tool Artistic Style. Such a plugin was terrible missing by me, since I am so lazy to keep a consistent structure in my files.
Right now the plugin is very basic and only have a poor looking configure page. But I will work on it. Also binary versions for the Qt sdk's creator will follow. For now, you have to compile it yourself, but if you want to have a look at it: http://astyleplugin.berlios.de
Enjoy,
Lykurg




Reply With Quote
The next weeks I also wont have time to take care about. So if any of you are familiar with creating a creator plugin for OS X, it would be nice if you could post a minimalistic howto... That would speed up things.

I have a few questions though. I'm mainly wondering how extensive the styling options are. The screenshots at the Artistic Style Plugin website seem to indicate that indentation is, for the most part, all the formatting the plugin does. Is this indeed the case? What about enforcing CamelCase for variables? The "m_" prefix for private data members? Ensuring pointer declarations are written as "int* myType" vs. "int * myType" or "int *myType"? The placement of curly braces? These are just some examples of the auto-formatting capabilities I am looking for. It would be fantastic if all these coding styles could be specified with this plugin. 

Bookmarks