Home Download Buy Blog Forum Support

ST3 : 'Goto Definition' and C/C++ enumerations

ST3 : 'Goto Definition' and C/C++ enumerations

Postby Dean Ashton on Fri Feb 01, 2013 1:14 am

Hi,

Just giving ST3 a spin, and have found that 'Goto Definition' fails to go to enumeration values..

So with this example (test.cpp)...

Code: Select all
typedef enum MyTestEnum
{
   enum1,
   enum2,
   enum3
} MyTestEnum;

MyTestEnum TestFunction(void)
{
   return enum2;
}


.. selecting 'enum2' within TestFunction() and then pressing F12 results in 'unable to find enum2'. Actualy, selecting 'MyTestEnum' and then pressing F12 also results in a failure to find the definition ('unable to find MyTestEnum').

Would it be possible to enhance the symbol indexing in ST3 to handle enumerations (and the enumerated values within)?

Many thanks,
Dean
Dean Ashton
 
Posts: 1
Joined: Fri Feb 01, 2013 1:08 am

Re: ST3 : 'Goto Definition' and C/C++ enumerations

Postby SunnyShah on Mon Jul 22, 2013 7:37 am

Not working for me too. Serious Issue.
SunnyShah
 
Posts: 1
Joined: Mon Jul 22, 2013 7:18 am

Re: ST3 : 'Goto Definition' and C/C++ enumerations

Postby ezelkow1 on Thu Jul 24, 2014 4:46 pm

I was just trying st3 and hit this as well. Seeing as the first question was posted a year ago, there been any movement? Was hoping to switch to sublime, but without enum parsing that basically kills it for me
ezelkow1
 
Posts: 1
Joined: Thu Jul 24, 2014 4:42 pm

Re: ST3 : 'Goto Definition' and C/C++ enumerations

Postby roycyt on Fri Jul 25, 2014 2:55 pm

With the help of C Improved package. Goto Definition (F12) can find the definition of MyTestEnum.
roycyt
 
Posts: 2
Joined: Sun Mar 17, 2013 2:37 pm


Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 13 guests