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
Can I format all source files in one project at once?
-
- CodeLite Curious
- Posts: 8
- Joined: Thu May 15, 2014 9:29 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Can I format all source files in one project at once?
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"
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Can I format all source files in one project at once?
I am afraid not. Please submit a feature requestguang11cheng wrote:Can I do it?
Thanks
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 8
- Joined: Thu May 15, 2014 9:29 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Can I format all source files in one project at once?
thank you, eranif!
I submit a feature request on github.
thank you for your great job! codelite is a great C++ IDE.
I submit a feature request on github.
thank you for your great job! codelite is a great C++ IDE.
-
- CodeLite Curious
- Posts: 8
- Joined: Thu May 15, 2014 9:29 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Can I format all source files in one project at once?
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.