User forums > Using Code::Blocks
Changing options for Astyle plugin
pir:
I want to use the Whitesmith code formatting style. (No religious wars, please!) Can I change the option? Is there somewhere I can specify the "--style=whitesmith " command line option to Astyle?
(Also, it would be nice if whitesmith and the other missing couple of formatting options (banner and stroustrup)were added to the Settings->Editor->Source formatter dialog :D)
Peter
Jenna:
--- Quote from: pir on January 11, 2010, 12:50:15 pm ---I want to use the Whitesmith code formatting style. (No religious wars, please!) Can I change the option? Is there somewhere I can specify the "--style=whitesmith " command line option to Astyle?
(Also, it would be nice if whitesmith and the other missing couple of formatting options (banner and stroustrup)were added to the Settings->Editor->Source formatter dialog :D)
Peter
--- End quote ---
Which version of C::B do you use ?
Actual versions of C::B (aka nightlies) have Allmann(Ansi), Java, K&R, Stroustrup, Whitesmith, Banner, Gnu, Linux, Horstmann and the users custom-style.
pir:
I am using Version 8.02.
Nice to hear the nightlies now include these other formatting styles. Just need to work-out how to install a nightly build in Ubuntu...
Peter
pir:
Am I right in thinking that the nightly builds are only available for Windows? In which case, back to my original question: Can I configure things to pass the whitesmith option to the Astyle plugin?
Peter
MortenMacFly:
--- Quote from: pir on January 11, 2010, 08:41:23 pm ---Am I right in thinking that the nightly builds are only available for Windows?
--- End quote ---
No. Read the forum (every nightlies thread) more carefully.
Navigation
[0] Message Index
[#] Next page
Go to full version