Oh and please use Code .tags
ok
No large development is being done in this area, but the lead developer maintains the plugin and its custom parser.
In the meantime i found the forum topic 'CodeCompletion redesign'. But, after some hickhack this thread seems to be dead, isn't it?
The meaning of 'parse preprozessor' setting has been understood now, thank you. The unsupported typedef parsing i can workaround with using classes as typedefs... But the other problem with #if 0 #endif enclosings is really important for me and others, i believe.
My job is to develop programs for multiple systems like WIN, Linux, WIN CE, own OS's. So i have sources, which are 'contaminated' with things like:
#if defined(OS_BLAH)
...
#else if defined(OS_BLUB)
...
#else
...
#endif
It's really often, that for different OS versions i have to describe Structs and Classes with same names but different architecture. A good classbrowser may not mix these and has to support preprozessor directives like that. I tested a little bit with BORLAND CBuilder, the following constructions will work there (No, CBuilder isn't better than CB 8) )
#if 0
typedef struct
{
int a1;
int b1;
} TTest;
#else
typedef struct
{
int a2;
int b2;
} TTest;
#endif
/* this will work too...*/
#if 0
#if 1
#if 4711
#if true
/* and this: */
#define _TEST
#if defined(_TEST)
typedef struct
{
int a1;
int b1;
} TTest;
#else
typedef struct
{
int a2;
int b2;
} TTest;
#endif
How wide spread is editor support for comenting highlighting code demarked by the #if 0 #endif set?
There is no support known by me. There is no need for it too. Code completion and syntax higlighting are different things in my eyes.