[TxMt] Re: Align code

Tim Bates timothy.c.bates at gmail.com
Sat Nov 9 10:12:06 UTC 2013


it needs an updated pulled.

Either replace this line
#!/usr/bin/env ruby -W0

with this
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU

or install the bundle from 

https://github.com/tbates/align.tmbundle
 


On 9 Nov 2013, at 09:10, Ross Ahmed <rossahmed at googlemail.com> wrote:

> Hi all
> 
> I recently posted asking how to align code at <- . For example, I would want these two lines of code
> 
> foo <- test
> fooFooFoo <- test 
> 
> To look like
> 
> foo             <- test
> fooFooFoo <- test 
> 
> Somebody suggestted installing the align bundle and using the keyboard shortcut CMD + CONTROL + 9. I've trice this but unfortunately it doesn't run and throws a message box saying 'Failure running Align Source'.
> 
> Can anyone come up with a hacky way of aligning code at <- ?
> 
> Ross
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list