[SVN] Re: Align Source

Mads Hartmann Jensen Mads379 at gmail.com
Thu May 26 09:32:58 UTC 2011


Okay, so I've made new progress. It know has a concept of blocks of code. It
will align each block separately. You can also choose just to only align the
block of code that contains a given line number. 

I've added a temporary bundle for people who want to try it out:
https://github.com/mads379/align.tmbundle

If you just run the command it will only align the block surrounding the
current line. If you select some text it will align every block in that
selection. 

The gist is still online here https://gist.github.com/988793 and it's where
I'll do my development. Every once in a while when it's stable I'll merge it
with the bundle :) 

Here's what I still needs to work: 

- Left/right justify captures
- Enable scope specific regular expressions 
- Enable scope specific block separators (regular expressions) (currently
uses blank lines and indentation to find blocks of code) 
-- 
View this message in context: http://old.nabble.com/Align-Source-tp31636561p31706135.html
Sent from the textmate-dev mailing list archive at Nabble.com.



More information about the textmate-dev mailing list