User forums > Using Code::Blocks

SmartSense/IntelliSense/CodeCompletion

(1/4) > >>

Aboq:
I tried to use this feature like i know it from VisualStudio or better VisualAssist...
I only tried latest nightly build 03jan07 on windows.

It doesnt work...


--- Code: ---typedef struct teststr_dummy {
    int test;
} teststr;

class testclass {
    public:
    int test;
};

/* ------------------------------------------------------------------------- */
BOOL InitInstance(hInstance, nCmdShow)
HANDLE  hInstance;
int     nCmdShow;
{
    teststr bla_bla; // teststr not in list in code completion
    bla_bla ---// no code completion after hitting .
    testclass bla_class; // testclass not in list in code completion
    bla_class ----// bla_class not in list in code completion | no code completion after hitting .

--- End code ---

So how does this feature work must i refresh the symbols manually, is it only supported with depth = 1 (I Mean no . ->)

thanks for me this is a essantial feature

stahta01:

--- Quote from: Aboq on January 05, 2007, 12:39:43 am ---I tried to use this feature like i know it from VisualStudio or better VisualAssist...
I only tried latest nightly build 03jan07 on windows.

It doesnt work...

--- End quote ---


--- Code: ---typedef struct teststr_dummy {
    int test;
} teststr_dummy;

--- End code ---

I think they must be named the same, I do NOT use code completion so I don't know for sure.
Tim S

Aboq:
no they shoulndt have the same name.

first is used inside the struct, second is used outside the struct definition.

Ceniza:
IIRC CodeCompletion doesn't work with structs defined using a typedef... I even wonder if basic typedefs were implemented.

mann:
Yes this feature is essential for me as well, but if the code completion plugin can not handle typedef struct constructs it is unfortunately completely useless for us. can you estimate how long it will take until the code completion feature will work properly? it is one if not the most important feature of an IDE so it should be given highest priority,....do you agree?

thanks from hokkaido

Navigation

[0] Message Index

[#] Next page

Go to full version