(New: see also ActionScript for TextMate)
I had this working previously in Project Builder, but the specification files were broken in Xcode. Thanks to the C# versions I found here, I’ve been able to update these for Xcode. This installer adds two files, ActionScript.pbfilespec
and ActionScript.pblangspec
to /Library/Application Support/Apple/Developer Tools/Specifications
, adding ActionScript syntax colouring and code completion (press opt-esc) to Xcode.
Personally, I now prefer to use SubEthaEdit as an external Xcode editor for ActionScript, as SubEthaEdit’s in-build ActionScript mode adds functions as well as classes to its symbols popup (Xcode can only see classes).
Just copy the unzipped ActionScript.mode file to SubEthaEdit’s internal Modes folder, either manually by control-clicking SubEthaEdit and choosing ‘Show Package Contents’, then copying the file to Contents/Resources/Modes
(you might want to back up the old ActionScript.mode first) or with this script (assuming you unzipped the file to your desktop): mv ~/Desktop/ActionScript.mode /Applications/SubEthaEdit.app/Contents/Resources/Modes/ActionScript.mode
<br />
~/Library/Application Support/SubEthaEdit/Modes/<br />
/Library/Application Support/SubEthaEdit/Modes/<br />
/Network/Library/Application Support/SubEthaEdit/Modes/<br />