I've been using TextMate a while and have installed the Actionscript 3 bundle as per http://flashalisious.com/2007/07/30/installing-as3-and-flex-bundle-for-textm....
I did this on my last computer, and got a bunch of nifty templates (Sprite, etc), that had large areas of the .as file blocked out (EVENT HANDLERS, PRIVATE METHODS, etc).
I got a new machine here at work and installed the bundle as per above, and although I now have the templates again, they don't have all the content they used to; and in fact come up with a sort of cryptic package designation, i.e.
package .var.folders.lB.lBw3509ZExidE+zqzMfB2oHT-Fk.-Tmp- {
I'm not at all an expert at TextMate, but like it a lot (we're registered users here). Can anyone suggest a fix to get things back to how they once were? Thanks very much!
On 13.11.2008, at 16:44, marsteller wrote:
http://flashalisious.com/2007/07/30/installing-as3-and-flex-bundle- for-textmate/
********************************************************** Hans-Joerg Bibiko Max Planck Institute for Evolutionary Anthropology Department of Linguistics Deutscher Platz 6 phone: +49 (0) 341 3550 341 D-04103 Leipzig fax: +49 (0) 341 3550 333 Germany e-mail: bibiko@eva.mpg.de **********************************************************
Danke -- aber ich hab's nicht kapiert (scheint, daß was fehlt unten)S
On 11/13/08 11:34 AM, "Hans-Jörg Bibiko" bibiko@eva.mpg.de wrote:
On 13.11.2008, at 16:44, marsteller wrote:
http://flashalisious.com/2007/07/30/installing-as3-and-flex-bundle- for-textmate/
Hans-Joerg Bibiko Max Planck Institute for Evolutionary Anthropology Department of Linguistics Deutscher Platz 6 phone: +49 (0) 341 3550 341 D-04103 Leipzig fax: +49 (0) 341 3550 333 Germany e-mail: bibiko@eva.mpg.de
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Best
Robert
Robert Anthony SeniorInteractiveDesignerDeveloper Marsteller 230 Park Avenue South | 9th Floor | New York | NY | 10003 212.614.4694
The information, and any attachments contained in this email may contain confidential and/or privileged information and is intended solely for the use of the intended named recipient(s). Any disclosure or dissemination in whatever form, by another other than the intended recipient is strictly prohibited. If you have received this transmission in error, please contact the sender and destroy this message and any attachments. Thank you.
On 13.11.2008, at 16:44, marsteller wrote:
I've been using TextMate a while and have installed the Actionscript 3 bundle as per http://flashalisious.com/2007/07/30/ installing-as3-and-flex-bundle-for-textmate/. I did this on my last computer, and got a bunch of nifty templates (Sprite, etc), that had large areas of the .as file blocked out (EVENT HANDLERS, PRIVATE METHODS, etc). I got a new machine here at work and installed the bundle as per above, and although I now have the templates again, they don't have all the content they used to; and in fact come up with a sort of cryptic package designation, i.e. package .var.folders.lB.lBw3509ZExidE+zqzMfB2oHT-Fk.-Tmp- { I'm not at all an expert at TextMate, but like it a lot (we're registered users here). Can anyone suggest a fix to get things back to how they once were? Thanks very much! View this message in context: How to install Actionscript 3 TEMPLATE correctly? Sent from the textmate users mailing list archive at Nabble.com.
Maybe the problem is that the svn repository was relocated.
Thus you have to change the URLs:
svn co http://macromates.com/svn/Bundles/trunk/Review/Bundles/ Flex.tmbundle
svn co http://macromates.com/svn/Bundles/trunk/Review/Bundles/ ActionScript\ 3.tmbundle
in
svn co http://svn.textmate.org/trunk/Review/Bundles/Flex.tmbundle
svn co http://svn.textmate.org/trunk/Review/Bundles/ActionScript% 203.tmbundle
But I'm not quite sure whether this causes that error because the old svn repo should yet work but it won't be updated anymore.
And an other point: Did you updated TM (cutting edge) and the 'Support Folder' (http://manual.macromates.com/en/bundles chapter 5.7.2 to 5.7.4) ?
--Hans
I've been using TextMate a while and have installed the Actionscript 3 bundle as per http://flashalisious.com/2007/07/30/installing-as3-and-flex-bundle-for-textm... . I did this on my last computer, and got a bunch of nifty templates (Sprite, etc), that had large areas of the .as file blocked out (EVENT HANDLERS, PRIVATE METHODS, etc). I got a new machine here at work and installed the bundle as per above, and although I now have the templates again, they don't have all the content they used to; and in fact come up with a sort of cryptic package designation, i.e. package .var.folders.lB.lBw3509ZExidE+zqzMfB2oHT-Fk.-Tmp- { I'm not at all an expert at TextMate, but like it a lot (we're registered users here). Can anyone suggest a fix to get things back to how they once were? Thanks very much!
I think you have the bundle installed correctly, it's just that I have updated and changed the way that the templates behave. Each template in the bundle editor has a comment which describes the change. You can now control whether or not the comments and banners contained within the template are kept when your new document is created.
So to get your old behavior set the env variables TM_ASDOC_GENERATION and TM_AS3_BANNER_GENERATION to anything.
This:
package .var.folders.lB.lBw3509ZExidE+zqzMfB2oHT-Fk.-Tmp- {}
is deliberate and happens when using File > New From Template > ActionScript 3 > Sprite Subclass. It isn't elegant but the file before you save it will be in /var/folders/lB/lBw3509ZExidE+zqzMfB2oHT-Fk/- Tmp- and the directory structure is the only thing I have to go on to take an educated guess on what the package path may be. If there's no obvious source directory in the path then I've opted to keep the whole path and let the user edit it.
Using the new file button in the project drawer is likely to get you more reliable results.
Cheers, Simon