From: James Britt Date: 2008-10-07T05:36:42+09:00 Subject: Re: Why not adopt "Python Style" indentation for Ruby? Brian Candler wrote: > > I don't wish to change to a different text editor, and in any case, I > don't believe that *any* editor has a sufficiently complete knowledge of > Ruby lexing and parsing rules that it will always match the Ruby way of > parsing source. > > Anyway, if anyone knows of a tool which does this, it would make me very > happy :-) Well, vi/vim/gvim users can have the code auto-format, which will "fix" indentation. When I get those nasty kEND errors I run the auto-format macro and scan down the code until I see something out of place. Then error is usually a few lines above that point. -- James Britt www.happycamperstudios.com - Wicked Cool Coding www.jamesbritt.com - Playing with Better Toys www.ruby-doc.org - Ruby Help & Documentation www.rubystuff.com - The Ruby Store for Ruby Stuff