[TxMt] Re: merging bundles?

Simon Gregory simon at helvector.org
Sun Jul 11 11:52:34 UTC 2010

Firstly if you're using the AS3 bundle from SVN then it's out of date. You should grab the most recent version from github:


You should find yourself only using the AS2 bundle when you're editing ActionScript 1+2, and the AS3 bundle when you're working with AS3. As the file suffix for both languages .as there isn't an easy way for TM to pick up which is which, so you may find yourself switching manually.

If you have common commands and snippets you wish to use then you'll need to set their scope to 'source.actionscript', for AS2 it's 'source.actionscript.2' and for AS3 use 'source.actionscript.3'. You can your custom bundle in TextMate as a project and do a global search and replace to change the commands in question. Merging the bundles is something you're going to have to do manually.


On 10 Jul 2010, at 20:11, plastichairdoo wrote:

> Hello all, 
> I'm using TM primarily for Actionscript (love it!) and I was using the built in 'Actionscript' bundle until a few weeks ago when I downloaded and installed the 'Actionscript 3' bundle from the Subversion site. 
> now I've got these two bundles both of which have snippets and commands I want to use - but unfortunately I seem to only be able to have one active at a time. I've figured out that this is a 'scope' issue but I don't know how to change the scope on multiple commands/snippets etc at once. obviously going through and changing each one is not the way to do it.
> I customized the built in AS bundle with quite a few custom snippets I definitely want to keep, so how do I go about merging the bundles or changing the scope on multiple commands/snips etc?
> thanks in advance, 
> bennett
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

More information about the textmate mailing list