Description: The Artistic Style Plugin is an Open Source tool that manages to bring the famous Artistic Style code formatter to the popular Qt Creator IDE. With the help of Artistic Style Plugin one can easily format source code within the editor while coding or one can format the entire project at once.Last changelog:
* Made compilable with Qt Creator 3.0.0 * Update to Artistic Style version 2.04
Great plugin! Could you make it possible to format entire project at the time? It takes a lot of time to go through every file in the project and format...
regards, ivar
I`m having problems building qt creator 2.0.1, I get errors when compiling qmldesigner.
Could you post binaries for the astyle plugin for qt creator 2.0.1? Would really like to try it :-)
-Ivar
Sounds like a great plugin. How do I install in under QtCreator? It's a silly question maybe but I haven't got it to work ... googling for install plugin for QtCreator hasn't helped either,. and I didn't find anything in the accompanying (astyle) documentation
A few-liners to help would be great
OK Fixed after some initial headache. If any other qtcreator newbie needs the help then here's what I did to fix it.
http://astyleplugin.berlios.de/installation.php
1. From source code, setup the PRO file (or give as start-up options)
QTC_BUILD=/home/$USER/Qt/qtcreator-2.0.1/build
QTC_SOURCE=/home/$USESR/Qt/qtcreator-2.0.1/2.0.1-src
DEFINES=QTC200
qmake -config release
make
make install is NOT needed since the make will install the style plugin
Next time you start the QtCreator you'll find it under
Edit -> Format source code.
Settings are made under:
"Tools -> Options -> Artistic Style Plugin"
Ratings & Comments
13 Comments
Is there an old version for Qt Creator 2.7.2?
Hi, have a look at the homepage: http://astyleplugin.sourceforge.net. Builds for 2.7.0 should also work for 2.7.2. Best
A new version for the next Creator release would be great. Best Plugin in Qt Creator ever.
New version is already uploaded. Binary versions for Windows 32bit and Linux 64bit are also up. Have fun!
Could you post binary for Linux 32-bit?
Great plugin! Could you make it possible to format entire project at the time? It takes a lot of time to go through every file in the project and format... regards, ivar
Could you also provide a windows binary for gcc/mingw? -Ivar
I`m having problems building qt creator 2.0.1, I get errors when compiling qmldesigner. Could you post binaries for the astyle plugin for qt creator 2.0.1? Would really like to try it :-) -Ivar
Ha, took some time, but now it is here with additional improvements ;-)
Sounds like a great plugin. How do I install in under QtCreator? It's a silly question maybe but I haven't got it to work ... googling for install plugin for QtCreator hasn't helped either,. and I didn't find anything in the accompanying (astyle) documentation A few-liners to help would be great
OK Fixed after some initial headache. If any other qtcreator newbie needs the help then here's what I did to fix it. http://astyleplugin.berlios.de/installation.php 1. From source code, setup the PRO file (or give as start-up options) QTC_BUILD=/home/$USER/Qt/qtcreator-2.0.1/build QTC_SOURCE=/home/$USESR/Qt/qtcreator-2.0.1/2.0.1-src DEFINES=QTC200 qmake -config release make make install is NOT needed since the make will install the style plugin Next time you start the QtCreator you'll find it under Edit -> Format source code. Settings are made under: "Tools -> Options -> Artistic Style Plugin"
Congratulations for this plugin ! It's work very well.
Thx you guys. Very big thx. Needed plugin.