News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

expand namespaces and classes

Started by p2rkw, June 03, 2012, 05:35:42 PM

Previous topic - Next topic

p2rkw

Hi,
Symblos browser haven't option "auto expand classes", but it may be useful (especially with unchecked "display bottom tree" ).
So I build C::B from sources and wrote this little path. It changes ExpandNamespaces member function: it will expand ns or classes with given depth level ( currently 2 ).

It's my first patch so I hope for your understanding : )

edit: patch updated, now it expand one level of namespace and one level of class, so it doesn't expand inner namespaces and classes.

MortenMacFly

...committed in trunk. Thank you! :-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]