[TxMt] Re: [TM2] Disable automatic indentation

Emmanuel Blot eblot.ml at gmail.com
Thu Mar 1 10:24:52 UTC 2012


Hi Allan,

>> By "workaround", I mean something like "ignore all comments for computing indentation level",
> The manual has a section about how these rules work. There are no hidden settings left out.
Ok, so I should read the manual to understand how to fix my indentation issues.

>> and/or a special key sequence that could tell TM2 to cancel and not re-attempt the last indentation action.
> 2.0 only makes indent corrections if the line prior to your edit was indented according to the patterns, and after the edit, is not. So if you change the indent once, it should stick.
If I understand it right, TM1 did not attempt to perform indent
corrections *after* editing, whereas TM2 does; this may be the reason
why I'm in trouble as long as I do not configure the indentation rules
to fit ours. Time to read the documentation…

Thanks for your help,
Manu.


More information about the textmate mailing list