Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: p2rkw on April 15, 2012, 06:55:48 pm
-
Hi,
Why, when i checked "do not sort" option in symbols browser items are in reverse order to their definitions in source code?
For me, the most useful way to sort the symbols is consistent with their order in the source code. In source code I have sorted the symbols (functions, variables) as I want so I do not need to sort them further. Reverse order makes navigation harder.
What do you think about it?
rev. 7790, win xp
-
So you want to tell c::b to not sort the symbols and then expect them to be in some particular order?
The options tells C::B to do to things:
1. produce a sorted list
2. produce a random list depending on the implementation of the parser
You've selected the second option and you're complaining that the result is not what you've expected it to be.
As far as I'm concerned this option should be removed and the items should be always sorted.
-
I guess he is in fact complaining because objects are sorted in alphabetical order, and not in compilation order (not sure that the "compilation order" is really understandable...)
And that he thought that disabling sort will make things in the second way.