Re: Custom code completion XCode 3
Re: Custom code completion XCode 3
- Subject: Re: Custom code completion XCode 3
- From: Andrew Pontious <email@hidden>
- Date: Fri, 21 Mar 2008 15:04:11 -0700
On Mar 20, 2008, at 10:02 AM, Christian Klotz wrote:
I know there have been a couple of posts going to that direction but
I still didn't get my problem solved. After updating to Leopard and
Xcode 3 I am missing code completion (PHP and Actionscript 3 in this
case) like I had in Xcode 2.
I already searched the archives to get to know how to create spec
files etc. So I came across this post from Dave:
http://lists.apple.com/archives/xcode-users/2008/Jan/msg00158.html
To sum up what is need for a good workflow using a language that has
no built in support in Xcode:
.xclangspec file -> just define basic language specifications
(blocks, class, method declaration etc.)
.xctxtmacro -> has some nice macros for if..else statements or for/
while loops etc.
.xccompletion -> what is this whole thing about? I cant find
anything about this.
Where do I store the index of methods etc. that ship with PHP and
the Flash/Flex/AIR framework in my case. And how does this have be
done?
Would appreciate any help.
Best
Xcode 3.0 does not index anything other than C, C++, Objective-C, and
Java source code files.
However, you may be able to add a list of methods that will be
utilized by code completion via our "bridgesupport" mechanism.
I'm not an expert on it, but here's what I get when I search on it in
the xcode-users list:
http://lists.apple.com/archives/Xcode-users/2008/Jan/msg00158.html
http://lists.apple.com/archives/xcode-users/2007/Dec/msg00580.html
http://lists.apple.com/archives/xcode-users/2007/Dec/msg00529.html
Here is the gen_bridge_metadata man page:
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/gen_bridge_metadata.1.html
Here is another document that might help, Generating Framework Metadata:
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/RubyPythonCocoa/Articles/GenerateFrameworkMetadata.html
-- Andrew
_______________________________________________
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