User forums > Help

code completion work

(1/3) > >>

xakepp35:
i have following code:


--- Code: ---class st0
{
public:
 int y;
 int b;
};

class st1 : public st0
{
 int z;
 int a;
};

void foo()
{
    st1 b;
    b.

--- End code ---

1) code completion or code sense do not show member's types after typing "b." in example.
how to make them shown? "int st1::a" instead of just "a".
This is VERY important feature, especially if you see sources first time.

2) after typing "b." in code completion box members are sorted alphabetically "a, b, y, z".
how to make them sorted as they appears in source code, inherited classes first, base classes - last?
int st1::a, int st1::z, int st0::y, int st0::b
This is important too, Visual studio lacks this, but Borland studio (RAD studio) has such functionality.

3) how to eliminate time delay between hovering mouse on "foo" and hint appearing "int foo()" in example???

xakepp35:
PS. code completion plugin version: 0.7
currently i am trying code::blocks 10.05 (built May 27 2010) as alternative for visual studio 2010
but code completion situation is worth sticking with VS2010..  :(

oBFusCATed:
Try latest nightlies, they are better in CC, but not perfect...

ollydbg:

--- Quote from: xakepp35 on January 23, 2011, 08:27:49 pm ---2) after typing "b." in code completion box members are sorted alphabetically "a, b, y, z".
how to make them sorted as they appears in source code, inherited classes first, base classes - last?
int st1::a, int st1::z, int st0::y, int st0::b
This is important too, Visual studio lacks this, but Borland studio (RAD studio) has such functionality.

--- End quote ---
This should be a feature request.... Need some work. :D


--- Quote from: xakepp35 on January 23, 2011, 08:27:49 pm ---3) how to eliminate time delay between hovering mouse on "foo" and hint appearing "int foo()" in example???

--- End quote ---
There is an option in CC which can set the time delay.

xakepp35:

--- Quote ---
--- Quote ---Quote from: xakepp35 on Yesterday at 08:27:49 pm
3) how to eliminate time delay between hovering mouse on "foo" and hint appearing "int foo()" in example???

--- End quote ---
There is an option in CC which can set the time delay.
--- End quote ---

this option(in CC settings) applies only to "CC box" (box with member names and color squares - green square for public members, etc) appearing timeout.
but not on "item hint" appearing timeout.

Navigation

[0] Message Index

[#] Next page

Go to full version