Goto Symbol typedef and struct tagging is broken in sublime 3 beta

Tai Horgan 9 years ago 0

As of Sublime Text 3 beta build 3008

Goto symbol understands typedefs, but doesn't understand struct definitions.

For example tagging to my_struct defined as

struct my_struct_internal { blah };

typedef my_struct_internal my_struct;

works, but defined as

typedef struct my_struct_internal { blah } my_struct;

does not.

Additionally, Sublime 3 seems to believe that function pointer typedefs are symbol definitions for their output types, i.e.

typedef return_type ( *myFunction ) ( args )

should be a definition for myFunction, but st3 believes it is a definition for return_type.