end tags attempt to self-format. Very simple: when you type "end" it indents by -1 tab. This generally gives the behaviour of auto-indention, except where it doesn't. Wow, that was an impressive explanation.
On Wed, Dec 9, 2009 at 11:31 AM, suranyami <[email protected]>wrote: > Okay, answered one of my questions: > > Reformat Selection is NOT what I want... "Indent Selection" IS, > though. cmd-option-[ short cut... > > Now for finding the balanced do/end or parantheses... > > > > On Dec 8, 11:24 am, David Parry <[email protected]> wrote: > > I've only recently converted to TextMate... I was using NetBeans, which > is great for some things, but got a bit tired of seeing SPOD (Spinning Pizza > of Death). > > > > Anyway, here's a few newbie questions that I can't seem to find answers > for in the documentation: > > > > 1. How to balance do/ends? > > > > I can't see an easy way to do this... I would think this was pretty > essential. > > > > 2. Reformat Selection: why does it suck so hard? > > > > ...and what is the alternative? > > > > I'd really appreciate some Ruby/TextMate-fu from some of the grand > masters out there. > > -- > > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rails-oceania%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > > > -- Dr Nic Williams Mocra - Premier iPhone and Ruby on Rails Consultants w - http://mocra.com twitter - @drnic skype - nicwilliams e - [email protected] p - +61 412 002 126 or +61 7 3102 3237 -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
