On Apr 21, 2006, at 5:09 PM, Allan Odgaard wrote:
[...] if you type an open brace, it will automatically *unindent* for you. Couldn't TextMate do the same thing?
I have considered something like that, but rather than hardcode just that single case, I am (generally) preferring the more general systems. For example you could write:
case 10:«return» // this triggers extra indent case 20: // this line should _not_ have been indented
Ah, good point. Looks like Xcode doesn't handle that case well at all.
And when we go outside C we get more of these special cases.
I was thinking this would be specified somehow in the language definitions for the C-like bundles only (Java, C/C++, Obj-C, C#).
Trevor