[TxMt] Lining up code automatically - perl mainly
Albert Vernon Smith
avsmith at gmail.com
Thu Dec 6 23:46:58 UTC 2007
I keep my Perl code formatted using the "Tidy" command. I keep things
semi-aligned myself, and then do a "Tidy" (control-shift-H)
periodically. Everything ends up very nicely formatted.
PS. I don't miss emacs for a second.
On Dec 6, 2007 10:35 PM, Simon Holroyd <holroyd at sanger.ac.uk> wrote:
> I've just started using TM, previously I used emacs. When I typed a perl
> line like:
> my $p = Base::Sub->new
> (id => 1234,
> name => "test");
> I would only have to hit tab on each new line to move the cursor to below
> the appropriate place on the above line i.e. it auto formatted the code for
> me. TM doesn't seem to do this, which is annoying the hell out of me. Can
> someone help please?
> View this message in context: http://www.nabble.com/Lining-up-code-automatically---perl-mainly-tf4958584.html#a14201038
> Sent from the textmate users mailing list archive at Nabble.com.
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
More information about the textmate