Re: XCode and STL/STD code completion/code sense - possible???
Re: XCode and STL/STD code completion/code sense - possible???
- Subject: Re: XCode and STL/STD code completion/code sense - possible???
- From: David Ewing <email@hidden>
- Date: Tue, 11 Jan 2005 11:42:18 -0700
On Jan 11, 2005, at 8:39 AM, Shawn Erickson wrote:
On Jan 11, 2005, at 4:51 AM, Martin Häcker wrote:
In general, when you're not seeing code completion come up with the
right list, it's something specific to your case. Though I will
mention that things are vastly improved in 2.0, especially w.r.t.
C++ (since the underlying indexer is better at handling C++). But if
you're seeing issues, please file bugs (at
<http://developer.apple.com/bugreporter>). Give as much information
as possible in the report. The code itself is most useful. If you
can't submit your code, isolating the issue to a smaller test case,
perhaps from one of the example projects we ship, is also very
useful.
What I'd like to confirm before I start sending bug-reports is this:
Is the Code-Completion feature even supposed to come up with specific
suggestions for a class? As far as I have seen that is nowhere stated
explicitely.
What I mean with specific is this.
When I have code like this:
--- snip ---
NSObject *anObj = [NSObject new];
[anObjc <complete>
--- snap ---
Should it actually show me only the NSObject methods or all objc,
methods in the system?
I believe it should show you methods defined by NSObject itself and
any categories against NSObject (of which their are a lot of those).
At least that is what I think I have seen in practice when using it
for my own classes.
Yup.
And how is it suposed to work if the code looks like this?
--- snip ---
id anObj = [NSObject new];
[anObjc <complete>
--- snap ---
I think it shows you all.
Also, yup.
Dave
_______________________________________________
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