Re: Xcode 3.0 editor function popup not showing functions.
Re: Xcode 3.0 editor function popup not showing functions.
- Subject: Re: Xcode 3.0 editor function popup not showing functions.
- From: Chris Espinosa <email@hidden>
- Date: Mon, 12 Nov 2007 15:13:47 -0800
On Nov 12, 2007, at 3:06 PM, Andy Wiese wrote:
In Xcode 3.0, the function list popup in the editor no longer shows
our function definitions. It does show macro definitions and
function declarations. Any idea why this might happen?
We generally turn off spotlight on these machines--it seems unlikely
that Xcode 3.0 uses spotlight in this way, but it is a one thought
that occurred to me. (Not easy to test since turning it on will
result in a long overdue file indexing that no one wants to wait for.)
Our function definitions have a slightly unusual format, but not
that unusual, and if the parser couldn't handle it, I would expect
declarations to also fail.
Any ideas greatly appreciated!
The editor's parser is not the same as the compiler's, as it's in a
physically different piece of code (Xcode vs. gcc) and is called
hundreds of thousands of times in real-time while editing instead of
once per file while compiling. There are always going to be idioms
that the compiler understands, especially in older source
compatibility modes (e.g. K&R-style declarations), that the source
scanner won't understand.
Filing a Radar report at http://bugreporter.apple.com with a copy of
the source file that's confusing the editor's parser is the best way
to address this.
Chris
_______________________________________________
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