[TxMt] Bracket indenting
Stephan Schiffels
stephan80 at mac.com
Wed Oct 20 17:02:28 UTC 2010
Hi,
is it correct that curly brackets feature a special behaviour in Textmate? I mean the fact that if I enter a Curly bracket { and hit enter, it will create a newline after the tab. This is not the case with other brackets:
So with curly brackets I get:
{
Cursor
}
With other brackets I get:
(
Cursor)
Note that this is _not_ set in the indentation rules section, to my understanding. I want to mimic the behaviour of Curly brackets for other brackets as well. I know that I can use this trick used in the Snippet: "Special: Return Inside Empty Open/Close Tags" in the HTML bundle to mimic this behaviour, which I am happy to do. I just wanted to know whether I get this correctly, that the special behaviour of curly brackets is unique and built into Textmate.
Thanks a lot,
Stephan
More information about the textmate
mailing list