Simon-
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.
-albert
PS. I don't miss emacs for a second.
On Dec 6, 2007 10:35 PM, Simon Holroyd holroyd@sanger.ac.uk wrote:
Hi,
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.h... Sent from the textmate users mailing list archive at Nabble.com.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate