[TxMt] Re: How to extract part of a line of code and make it a variable?
jeremy.lecour at gmail.com
Fri Aug 31 08:16:55 UTC 2012
Le 31 août 2012 à 00:48, Curt Sellmer <sellmerfud at gmail.com> a écrit :
> Here is a bundle "Command" that I use to do this. It is written for scala so the variable declaration is preceded with the 'var' keyword. Just remove it if you are working with a language such as Ruby that does not require this.
Curt my man, you rock !
I've noticed that the TM_SELECTION variable might be a TM2 thing, not available in TM1, so I've forked your command to adapt it to TM1 : https://gist.github.com/3550146
Thank you Allan, Hans, Curt and James (via Twitter) for your help on this.
Conception et développement d'applications web
http://jeremy.wordpress.com - http://twitter.com/jlecour
More information about the textmate