Page 1 of 1
Can I format all source files in one project at once?
Posted: Fri May 23, 2014 1:13 pm
by guang11cheng
I want to format all source files in one project at once, without opening each file and then running the plugin one by one.
Can I do it?
And even can I format all source files in the workspace at once?
best regards
Re: Can I format all source files in one project at once?
Posted: Fri May 23, 2014 5:16 pm
by Jarod42
I personnally use the tools externally, something like (that you may bind as external tool):
Code: Select all
AStyle.exe --ascii --options=myastylerc --recursive "*.cpp" ".h"
Re: Can I format all source files in one project at once?
Posted: Fri May 23, 2014 7:04 pm
by eranif
guang11cheng wrote:Can I do it?
I am afraid not. Please submit a feature request
Thanks
Eran
Re: Can I format all source files in one project at once?
Posted: Mon May 26, 2014 6:19 am
by guang11cheng
thank you, eranif!
I submit a feature request on github.
thank you for your great job! codelite is a great C++ IDE.
Re: Can I format all source files in one project at once?
Posted: Mon May 26, 2014 7:21 am
by guang11cheng
Jarod42 wrote:I personnally use the tools externally, something like (that you may bind as external tool):
Code: Select all
AStyle.exe --ascii --options=myastylerc --recursive "*.cpp" ".h"
Thank you, i have done it that way, but I do not think it's a good solution. Because code fomatting is a very high frequency used function, so it should very easy to use without advanced external tools.