User forums > Help

Code completion does not list enum members

(1/3) > >>

alberto:
I'm not sure if this is already a feature but I would expect code completion to list enum members upon typing the enum name (so you can select the name you require). Does anyone know if this is a fault or just not implemented??

jajdoo:
well ..
if you type the enum name and :: it you get the members...
( enumName:: )

ollydbg:

--- Quote from: alberto on April 20, 2010, 03:48:35 pm ---I'm not sure if this is already a feature but I would expect code completion to list enum members upon typing the enum name (so you can select the name you require). Does anyone know if this is a fault or just not implemented??


--- End quote ---
It should work well. Can you give a simple test code?

Jenna:
And as always:
please tell us which version of C::B and which OS (and version) you use !!

alberto:
Sample code.....

typedef enum
{
    DYN_NO_DISPLAY = 0,
    DYN_SELECTED,
    DYN_HIGHLIGHTED,
    DYN_NONE,

} T_TR_SCROLL_DYN;


static T_TR_SCROLL_DYN        Tr_Scroller_Dynamic =       DYN_NO_DISPLAY;


Then type Tr_Scroller_Dynamic = ..... no options appear, thought it would provide a choice of the four options above?

Using SVN 6181, on Windows XP SP3.

Please help!

Navigation

[0] Message Index

[#] Next page

Go to full version