Code beautifier(s) ?
-
QT code beautifier is presented as "experimental ' , gives vendor , however that links back to QT and not to source at all
-
Is there an access to source code of the "experimental" plug-in?
Can it be optioned ? -
Did somebody actually , physically , installed Artistic Style as plug -in?
I have it downloaded but not sure how to install it in QT. as plug-in.
After RTFM it looks as just copy the zipped file to f"plug-in" older (?) is all what is necessary. -
I am not sure how to option Artistic Style - maybe it includes instructions after I extract it.
Cheers
-
-
QT code beautifier is presented as "experimental ' , gives vendor , however that links back to QT and not to source at all
-
Is there an access to source code of the "experimental" plug-in?
Can it be optioned ? -
Did somebody actually , physically , installed Artistic Style as plug -in?
I have it downloaded but not sure how to install it in QT. as plug-in.
After RTFM it looks as just copy the zipped file to f"plug-in" older (?) is all what is necessary. -
I am not sure how to option Artistic Style - maybe it includes instructions after I extract it.
Cheers
@AnneRanch ad 1) - the very first result from the google search for the query "qt creator code beautifier source code"
https://code.woboq.org/qt5/qt-creator/src/plugins/beautifier/beautifierplugin.cpp.html
-
-
QT code beautifier is presented as "experimental ' , gives vendor , however that links back to QT and not to source at all
-
Is there an access to source code of the "experimental" plug-in?
Can it be optioned ? -
Did somebody actually , physically , installed Artistic Style as plug -in?
I have it downloaded but not sure how to install it in QT. as plug-in.
After RTFM it looks as just copy the zipped file to f"plug-in" older (?) is all what is necessary. -
I am not sure how to option Artistic Style - maybe it includes instructions after I extract it.
Cheers
@AnneRanch said in Code beautifier(s) ?:
- Is there an access to source code of the "experimental" plug-in?
Sure, on Github:
- Qt Creator project: https://github.com/qt-creator/qt-creator
- the code beautifier plugin: https://github.com/qt-creator/qt-creator/tree/master/src/plugins/beautifier
- Did somebody actually , physically , installed Artistic Style as plug -in?
Never used it.
-
-
@AnneRanch ad 1) - the very first result from the google search for the query "qt creator code beautifier source code"
https://code.woboq.org/qt5/qt-creator/src/plugins/beautifier/beautifierplugin.cpp.html
@artwaw said in Code beautifier(s) ?:
qt creator code beautifier source code
I guess my Mrs Google is setup to always point to Qt docs.
Thanks -
@AnneRanch said in Code beautifier(s) ?:
- Is there an access to source code of the "experimental" plug-in?
Sure, on Github:
- Qt Creator project: https://github.com/qt-creator/qt-creator
- the code beautifier plugin: https://github.com/qt-creator/qt-creator/tree/master/src/plugins/beautifier
- Did somebody actually , physically , installed Artistic Style as plug -in?
Never used it.
@KroMignon That that is very nice source of info , thanks.
It covers at least three code beautifiesr..
Still not clear- is standard "experimental " beautifier using any of them?
- I still need to figure out how to add either all or specific one to QTCreator as plug-in.
It looks as each needs to be as "external " application to be able to option it - if that is even possible.
-
@KroMignon said in Code beautifier(s) ?:
https://github.com/qt-creator/qt-creator/tree/master/src/plugins/beautifier
OK, this is i definitely NOT QT related .
I manged to open the above github and selected ArtisticStyle beautifier source code.There is no specific repository to clone so I am stuck.
I don;t think I want to clone the entire QTCreator , but I did not repository there either .
Could use some assistance here - how to retrieve the source code .
Copy each file separately?? -
@KroMignon said in Code beautifier(s) ?:
https://github.com/qt-creator/qt-creator/tree/master/src/plugins/beautifier
OK, this is i definitely NOT QT related .
I manged to open the above github and selected ArtisticStyle beautifier source code.There is no specific repository to clone so I am stuck.
I don;t think I want to clone the entire QTCreator , but I did not repository there either .
Could use some assistance here - how to retrieve the source code .
Copy each file separately??@AnneRanch said in Code beautifier(s) ?:
how to retrieve the source code .
From GitHub, click on Code icon and select Download ZIP
-
@AnneRanch said in Code beautifier(s) ?:
how to retrieve the source code .
From GitHub, click on Code icon and select Download ZIP
@KroMignon
Your link/screenshot shows how to download the whole of theqt-creator
sources, which includes the beautifier code as a sub-directory.For the record, I think the OP's original question was: is it possible to download just a specific sub-folder, such as from https://github.com/qt-creator/qt-creator/tree/master/src/plugins/beautifier ? Certainly github does not offer a "download" button from that page. My conclusion is that one must --- or at least it is simplest --- download from the ancestor folder which does offer the Code button, but I should be interested in hearing if there is a simple way to download just a specified folder?
-
@KroMignon
Your link/screenshot shows how to download the whole of theqt-creator
sources, which includes the beautifier code as a sub-directory.For the record, I think the OP's original question was: is it possible to download just a specific sub-folder, such as from https://github.com/qt-creator/qt-creator/tree/master/src/plugins/beautifier ? Certainly github does not offer a "download" button from that page. My conclusion is that one must --- or at least it is simplest --- download from the ancestor folder which does offer the Code button, but I should be interested in hearing if there is a simple way to download just a specified folder?
@JonB said in Code beautifier(s) ?:
I should be interested in hearing if there is a simple way to download just a specified folder?
No, there is not such a possibility with GitHub, AFAIK!
Downloading the ZIP of the project will avoid you to have to clone the hole repository.
QtCreator project repository maybe very large, I think. -
Bit of a zombie post but my experience with the beautifier plugin has been abismal. Since then I just witched to clang-format (part of the clang compiler but an indipendent tool) and set up a pre-commit hook in my git repository that runs clang-format. Much more practical and usable
-
J JonB referenced this topic on