• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: CodeSense doesn't see a global var
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: CodeSense doesn't see a global var


  • Subject: RE: CodeSense doesn't see a global var
  • From: "Michael Stauffer" <email@hidden>
  • Date: Mon, 29 Sep 2008 12:44:15 -0400
  • Importance: Normal

Yes, S appears in the Project Symbols smartgroup. It's listed as kind
"Variable", and it's icon is a green box with a 'G' which I presume means
global. Other globals for which CodeSense can't find completions are listed
similarly. CodeSense will find these globals themselves as I type them, but
won't offer any kind of completions for their members.

I'll file a bug like Andrew Pontious suggested, pertaining to my particular
project. But it may be a bit before I get to it cuz I'll have to remove some
proprietary code from the project before doing so and pull together sources
from several sources.

Is there a command in XCode to "compact" a project by putting all its
sources and libs into a single local folder for easy sharing?

Cheers,
Michael

> -----Original Message-----
> From: Chris Espinosa [mailto:email@hidden]
> Sent: Saturday, September 13, 2008 7:06 PM
> To: Michael Stauffer
> Cc: email@hidden
> Subject: Re: CodeSense doesn't see a global var
>
>
> Does S appear in your Project Symbols smartgroup? What type does the
> Xcode indexer think it is?
>
> Chris
>
> Top-posted from my iPhone
>
> On Sep 12, 2008, at 6:48 PM, Michael Stauffer
> <email@hidden
>  > wrote:
>
> > XCode 3.1
> >
> > Hi,
> >
> > I've got a global ptr 'S' to a struct that I use to access some
> > state vars
> > across source files. CodeSense says there are no
> completions when I
> > try to
> > get them after typing 'S->'. CodeSense works for another
> global var
> > in my
> > sources (different files), and all other identifiers as I'd
> expect,
> > at least
> > those I've tried, like class members and preprocessor defines
> > included from
> > other files. The global is defined extern in one .h file and
> > declared in a
> > cpp file. The code compiles without trouble.
> >
> > Anyone have any insight on this? Thanks.
> >
> > Cheers,
> > Michael
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Xcode-users mailing list      (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • "Compacting" a project into a single directory (Was Re: CodeSense doesn't see a global var)
      • From: Andrew Pontious <email@hidden>
References: 
 >Re: CodeSense doesn't see a global var (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Hiding Doc Sets in Documentation window
  • Next by Date: Re: Hiding Doc Sets in Documentation window
  • Previous by thread: Re: CodeSense doesn't see a global var
  • Next by thread: "Compacting" a project into a single directory (Was Re: CodeSense doesn't see a global var)
  • Index(es):
    • Date
    • Thread