You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TextMate auto-indents C and C++ in an unexpected way. To be specific, I would like to get:
This (1):
switch (x) {
case 3:
sdrhit;
case 4:
dfsdkfsd;
}
Or this (2):
switch (x) {
case 3:
sdrhit;
case 4:
dfsdkfsd;
}
Unfortunately, instead, I get this:
switch (x) {
case 3:
sdrhit;
case 4:
dfsdkfsd;
}
I looked into this, and I understand that the Swift indent rules would behave as I expect. I'm told that I can edit the indentation rules, but for C, I don't see the word "select" mentioned anywhere in the indentation rules, so this is confusing to me. My opinion is that (1) or (2) should be default, but at the very least, documentation somewhere about how to change them to fix this specific case would be really nice.