Hi,
using Sublime Text 3 a lot to edit TCL code. Since much of that code came was created in another editor, indentation is a mess like usual when switching editors due to the mix of tabs and spaces used to indent. Therefore, re-indent is an essential feature in my case. However, it is pretty much unusable when it comes to TCL.
Examples:
Sublime Text can’t handle ‘}’ with text following them. Code like this
if {test} {
bla
} else {
blabla
}
will be indented wrong, starting at “} else {”. And since indentation of a line is incrementally depending on the indentation of the previous line, all subsequent lines are wrong as well. This effect accumulates and makes code utterly unreadable.
Also, Sublime indentation is not agnostic to braces used in comments. So, if you comment out regular code, that will screw up indentation as well.
Pity, this is sorely missing.
Thanks,
gkoala