User forums > Using Code::Blocks
Source Formatter Plugin
(1/1)
somniantis:
Does anyone know if there's an easy way to indent all template functions and classes following the template specifier? The formatter plugin doesn't seem to have an option for this. Please and thank you :)
Commaster:
You can adjust the template in Settings -> Editor -> Source formatter and then select the text, open the context menu and press "Format use AStyle".
somniantis:
Don't see any formatting options for templates. Just seeing if anyone has a solution. All I want is this:
--- Code: ---template <typename T>
void Foo(){
}
--- End code ---
instead of this:
--- Code: ---template <typename T>
void Foo(){
}
--- End code ---
stahta01:
I do NOT see that option on link below.
http://astyle.sourceforge.net/astyle.html
You can see if I missed it or request it on Astyle site.
After, Astyle adds it; you can then request here the CB updates the Astyle version.
Tim S.
somniantis:
Okay, thank you.
Navigation
[0] Message Index
Go to full version