Re: code sense index python (xcode 3)
Re: code sense index python (xcode 3)
- Subject: Re: code sense index python (xcode 3)
- From: David Ewing <email@hidden>
- Date: Wed, 9 Jan 2008 14:09:31 -0700
On Jan 7, 2008, at 11:25 AM, Bill Bumgarner wrote:
On Jan 7, 2008, at 9:03 AM, Till Backhaus wrote:
but why xcode doesn't build an index for python symbols. this
results in _very_ bad completions suggestions and makes code
completion virtually useless.
did i miss something or is that how xcode supports python
development at the moment?
Nope -- you didn't miss anything -- that is pretty much how it works
at this time.
Well, for Python, Ruby, and Perl, we support completion for the Cocoa
Bridge. That means that all the Cocoa APIs are available to code
completion. But, the completion engine does not do near the same level
of parsing that it does for the C-based languages. Essentially, the
support is a very large list of APIs, with only a small notion of the
context.
The file that gives these completions is BridgeSupport.xccompletion.
You can add your own (for any language). I tend to think of them as
lightweight text macros. And indeed, my comments in earlier posts that
talk about how to create your own text macros mostly apply
for .xccompletion files too.
It would be "interesting" for people to write scripts that created
completion specs for the built-in APIs of Python, Ruby, Perl, or their
favorite language. ;-)
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