textmate

as3 bundle requirements AKA readme

Some requirements to get the Textmate bundle working as it should.

Can't do without :

Textmate

Obvious ;-)
http://macromates.com/

The flex SDK

The actionscript and flex compiler.
Download and install from :
http://www.adobe.com/products/flex/sdk/

Optional :

if you want to compile through a ant-build file you need the following :

Ant

Apache Ant is a Java-based build tool.
http://ant.apache.org/
Before installing, open terminal :

$ ant -version
Apache Ant version 1.6.5 compiled on September 12 2006

If you see a message like above, everything is ok !
Otherwise install ant.
If you install the apple developer-tools ant will be installed.

Flex Ant Tasks

The Flex Ant tasks provide a convenient way to build your Flex projects using an industry-standard build management tool.
You can find the download and install instructions on the following page :
http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks
( the path will problably be : /Developer/Java/Ant/lib )

actionscript 3 textmate bundle

I'm a newbie to textmate, and while i'm creating a little actionscript 3 project, i'm also working on a Actionscript 3 bundle.

For the as3 bundle i started with a copy of the java bundle, and changed what was immediately clear.
This gave me a good starting point. But i didn't know what was going on. So i decided to start over again.

Creating a template, with all typical scopes (see previous post). Then adding piece by piece to the 'right' scope, for as far as i comprehend that it is the right scope.
Adding some items again from the java-copy for things that don't highlight anymore. Hoping that in the near future i understand what is happening.

While i'm working on a little project i keep making snippets, commands etc.

This is not my main priority, but they help to improve my own performance, so why not ;-)

For compiling i use an ant script because this gives me the most flexibility, but it is possible to compile a single as to swf also.

As for now, here is what i've got till now. Know that this is only a starting point.

If someone knows where i can find a list of all as3 functions, or how i can create it. help is welcome.

Suggestions for new items or improvements are welcome.

textmate template

Before starting on a new bundle, i first created a language template with all common scopes. All with comments. You can download the start template, i created it as textfile, so use save link as ... copy paste it in a new language file from the textmate bundle.

Beware of when you press test, all comments and scopes which has no match will disappear

Syndicate content
Theme provided by Danang Probo Sayekti.