[TxMt] Re: How to edit Actionscript3 Templates?

warek silber at monoid.net
Mon Apr 6 08:13:59 UTC 2009




Simon Gregory wrote:
> 
>> I do the following:
>> in the 'bundle editor' I expand the 'Project' Template and then I  
>> select the
>> 'Project.as'. Here I placed the opening curly braces to be at the  
>> same line
>> as the function (and not at the next line).
>>
>> 	public function ${TM_NEW_FILE_BASENAME}() {
>>
>> When I close the window and try to make a new project from template  
>> nothing
>> happens.
> 
>> I can't reproduce this. I'm using Leopard, TextMate Version 1.5.8  
>> (1498), and the latest revision of the ActionScript 3 bundle (r11370).
> 
> I have exactly the same setup installed.
> 
> 
>> Does this happen to all templates within the AS3 Bundle? Does it  
>> happen with templates for any other language? 
> 
> I tried this with the project and the class template, both broke after
> changing something really minor. I just tried to change something in the
> Objective-C bundle and it worked probably afterwards.
> 
> 
>> The  
>> _create_as3_project.sh script does little more than use CocoaDialog to  
>> ask for a couple of input variables, makes a few new directories and  
>> files then gets perl to replace a few variables where appropriate.  
>> Maybe you've changed something in your ENV that means something is not  
>> getting located?
> 
> Sorry, I'm not sure what ENV is? ...Environment? The shell variables? I
> have currently three Shell Variables manually set in my prefs:
> TM_ORGANIZATION_NAME
> TM_FLEX_PATH
> TM_AS3_LIB_PATH
> 
> 
> Cheers,
> Marek
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-edit-Actionscript3-Templates--tp22677253p22904097.html
Sent from the textmate users mailing list archive at Nabble.com.




More information about the textmate mailing list