Again, I *tried* to report this as a bug, but couldn't.
If I hurriedly type:
if ( foo ) { bar }
Upon typing the } Textmate (with autoindentation on) changes it to this:
if ( foo ) { bar }
instead of:
if ( foo ) { bar }
or better yet:
if ( foo ) { bar }
The "closed curly brace must reduce indent level by one" is a bit too simplistic and I find it actively annoying.
podperson wrote:
instead of:
if ( foo ) { bar }
should read "instead of leaving it as:"
(based on the indentation level of the { )
You don't mention what language you have selected. The indentation rules are language specific. Please see the section of the manual: 24.2 Indentation Rules http://manual.macromates.com/en/appendix.html
On Wed, Sep 3, 2008 at 11:55 AM, podperson tloewald@gmail.com wrote:
podperson wrote:
instead of:
if ( foo ) { bar }
should read "instead of leaving it as:"
(based on the indentation level of the { )
View this message in context: http://www.nabble.com/Bug-Report-Feature-Request----Bad-Indentation-Heuristi... Sent from the textmate users mailing list archive at Nabble.com.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate