Struct Popup menu not showing up (SOLVED)

Started by Akumayo, Sat 12/08/2006 03:05:11

Previous topic - Next topic

Akumayo

I have two structs defined in a module script header.Ã,  Both of which are then declared in the module main script, exported from there, and imported in the header.
One, when I type it, and hit '.' shows a popup menu of all the things inside the struct.Ã,  The other, shows nothing.Ã,  This is very frusterated, as both structs have a lot of parameters that I need to see sometimes to jog my memory.Ã,  As a workaround, I've got a .txt file containing the struct declaration that I reference, but that's annoying.Ã,  My question is, what exactly makes that menu pop up?Ã,  I see no difference between my two structs (aside from their names), and yet, one does not grab that handy little menu.

Thanks in advance

-Regards, Akumayo
"Power is not a means - it is an end."

strazer

Can you show us the code? For example, where have you placed the bracket?

struct BlaBla { // shows members

struct Blabla
{ // doesn't show members

Akumayo

Both structs are braketed like this:

struct MyStruct {

  //parameters

};

They are declared one after another, the one declared first is the one to show the parameters.  They are imported, exported, and declared in the main script in the same order.  Both are declared in the main script as arrays.
"Power is not a means - it is an end."

strazer

As I said, please post the actual code. Otherwise we can only speculate what might be happening.

SSH

names similar to other identifiers or keywords sometimes messes up the completion engine, too
12

Akumayo

What'dya know?  My first struct contained a variable named the same thing as my second struct.  When I changed it's name, the handy menu began to appear ^_^
Thanks for the help guys, I appreciate it.
"Power is not a means - it is an end."

SSH

I don't think that should make a difference. CJ should fix it after he gets back from his gallivanting off to Spain.
12

SMF spam blocked by CleanTalk