Bug #11171 2007-05-24 15:37

tiarbiz

Struct variables and struct *variables

Hi.

Try this code:

// ------------------------------------

int get_send (struct getdata *get_data, char* cmd)

// Put Get Call

{

// ---------------Local Vars ---------------

int retval=0;

char line[PACKET_SIZE+2];

struct getdata foobaz;

struct getdata *foobar;

....

// ------------------------------------

If you start writing 'retv', code completion suggest you 'retval', and also "cm" is a good try for "cmd", but there's no way to obtain suggestions for 'get_data', 'foobar' or 'foobaz', nor for the member variables of these structures.

Is it possible?

TIA.

Tiziano

Category
Plugin::CodeCompletion
Group
 
Status
Closed
Close date
2010-10-16 01:37
Assigned to
loaden
loaden 2010-10-16 01:37

This bug has been already fixed in HEAD.

Thank you.