10 Replies Last post: Apr 4, 2014 1:34 PM by Anton Makeev  
Doug Warren Newbie 14 posts since
Oct 20, 2013
Currently Being Moderated

Mar 11, 2014 9:20 PM

What is 'G' in Find Symbol Name?

If I enter a class name in find symbol name, it will show Protocols, interfaces, implementations, extensions, defines etc... but it also sometimes shows something marked 'G' which when selected does not navigate anywhere.  If I select show all in view, it doesn't appear and the number shown is one less than that shown in the popup.

 

What is G and what is it for?

Daniel Hall Newbie 36 posts since
Jan 9, 2014
Currently Being Moderated
Mar 11, 2014 9:48 PM in response to: Doug Warren
Re: What is 'G' in Find Symbol Name?

Hmm... in my project, AppCode seems to apply G to symbols declared at the file level, e.g.

 

//Foo.m

 

#import "Foo.h"

 

static NSString *globalString = @"myString";

 

@implementation Foo

 

@end

 

 

So my guess is that the "G" is for global.  Don't know why those symbols don't jump you to a code location or appear when you show all in view.  Both of those actions seem to work for me as expected (jumping to the declaration of the global variable in code, seeing the occurrence in the find panel if I show all in view).

Daniel Hall Newbie 36 posts since
Jan 9, 2014
Currently Being Moderated
Mar 11, 2014 10:18 PM in response to: Doug Warren
Re: What is 'G' in Find Symbol Name?

That is odd, for sure...

 

There are no G-tagged class names when I try it in my project.  Are you only the latest version of AppCode?  If you are, then I would suggest dumping all of Appcode's indexing (File -> Invalidate Caches / Restart...) and letting it rebuild its caches.  If it still does the strange G symbol behavior, it may be a bug  :\

Anton Makeev JetBrains 1,294 posts since
Dec 19, 2006
Currently Being Moderated
Apr 2, 2014 8:08 PM in response to: Daniel Hall
Re: What is 'G' in Find Symbol Name?

Daniel,

have you been able to solve the issue?

Daniel Hall Newbie 36 posts since
Jan 9, 2014
Currently Being Moderated
Apr 3, 2014 7:36 PM in response to: Anton Makeev
Re: What is 'G' in Find Symbol Name?

Hi Anton,

 

Thanks for following up on this!  I wasn't having the issue myself, actually.  I was trying to help Doug, the original poster.  Not sure if he was ever able to resolve it or not.

 

Daniel

Anton Makeev JetBrains 1,294 posts since
Dec 19, 2006
Currently Being Moderated
Apr 3, 2014 7:39 PM in response to: Daniel Hall
Re: What is 'G' in Find Symbol Name?

Oh, right, my bad.

Alexey Ushakov Newbie 39 posts since
Aug 5, 2013
Currently Being Moderated
Mar 14, 2014 8:46 PM in response to: Doug Warren
Re: What is 'G' in Find Symbol Name?

Hi Doug,

 

Did you try Daniel's suggestion (File -> Invalidate Caches / Restart...)

 

Best Regards,

Alexey

Anton Makeev JetBrains 1,294 posts since
Dec 19, 2006
Currently Being Moderated
Apr 3, 2014 7:40 PM in response to: Doug Warren
Re: What is 'G' in Find Symbol Name?

Doug, do you need any further help with this?

Anton Makeev JetBrains 1,294 posts since
Dec 19, 2006
Currently Being Moderated
Apr 4, 2014 1:34 PM in response to: Doug Warren
Re: What is 'G' in Find Symbol Name?

OK,

please let us know if you have time and manage to find the cause, so that we could fix it.

More Like This

  • Retrieving data ...