Of course, if you want to rewrite the indentation rules for the language, then you are free to :-). Here's a link to the docs:
http://manual.macromates.com/en/appendix#indentation_rules
David.
On Tue, Jan 31, 2012 at 5:24 PM, David Howden dhowden@gmail.com wrote:
I find that the main problems are with the "auto-correction" of indentation, you can disable this as follows:
- Add a settings item to the bundle in question (make sure that the scope
for the setting item is set correctly).
- Add this dict to the settings: { disableIndentCorrections = '1'; }
David.
On Tue, Jan 31, 2012 at 5:14 PM, Carsten Hoever hoever@gmx.de wrote:
Same here with MATLAB as language.
On 31 Jan 2012, at 16:39, Emmanuel Blot wrote:
Hi All,
I'm editing C files with TM2, and the auto indentation is often wrong, and forces the cursor to move to an unexpected position when I start writing a new line.
I'm looking for information/guide to:
- disable the whole auto-indentation feature
- configure the auto-indentation feature, if it's feasible
- cancel the last auto-indentation action: Cmd-Z removes both the
indentation and the typed character. In many others editors, Cmd-Z cancels the automatic action, then a second hit remove the last typed char. Is there an equivalent in TM2?
Thanks, Emmanuel.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate