News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Hidden Compilers

Started by Alpha, April 16, 2013, 03:22:15 AM

Previous topic - Next topic

Alpha

I am working on making it possible for a user to hide compilers they do not use so that the list can be made smaller.  Attached is the way I plan to filter the list.  If anyone has time, I would appreciate feedback.  Specifically, should I worry about performance of any of the functions?  (I currently have not, as they will normally not be called often, and only deal with small arrays.)

(I did not yet write the GUI to set the config value "compiler/hidden_compilers" but everything else is functional.)

oBFusCATed

Comments
* cbFilteredChoice is too common name for its functionality
* I don't think you need to derive the combo, most of the times composition should be preferred over inheritance
* If I were you I'd just modify the functions which fill the combo with data it will be a lot simpler and there won't be any performance concerns
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

...another comment: Does not compile/work on wx2.9 (no DoAppend method) - this is a blocker.
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]