Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: MHaggag on May 09, 2004, 10:34:05 am

Title: Feature: Symbols Browser
Post by: MHaggag on May 09, 2004, 10:34:05 am
With this code:
Code
namespace MyNamespace
{
    class Booo
    {
    public:
        Booo();
        ~Booo();
    };
   
    enum Oyyy
    {
    };
}

int main()
{
std::cout << "Hello world!" << std::endl;

// this is to make the console stay open...
system("PAUSE");
return 0;
}

Symbols->Namespaces->MyNamespace->(class)Booo,(enum)Oyyy
And the Classes/Enums outside namespaces are empty.

Why not make it like:
For every added namespace, its name gets added as a direct child to the symbols node. Under the namespace name, we have classes, enums, ....etc.
The last (or first) namespace should be the "Global" namespace, and under it you should have the usual classes/enums stuff.
Title: Feature: Symbols Browser
Post by: mandrav on May 09, 2004, 10:42:10 am
Nice :)
And it should be easy to implement.
Title: Feature: Symbols Browser
Post by: mandrav on May 10, 2004, 09:33:10 am
OK, updated in CVS (I updated the images too).
Title: Feature: Symbols Browser
Post by: MHaggag on May 10, 2004, 07:20:42 pm
Cool. I couldn't access the project page yesterday (it told me I wasn't authorized, so I think that means the project hasn't been created/setup yet)

I've downloaded the source, and I'll start mucking around and familiarizing myself with it, god-willing. I'll post any questions or suggestions I have to the appropriate list.

See you :)
Title: Feature: Symbols Browser
Post by: mandrav on May 11, 2004, 08:49:46 am
Yes, the project is still pending approval...
As for the code, it's not well commented :( (yet) but after I write up a diagram of the various base classes and how they interconnect, it will be really easy to follow up, I think...