The Sublime Text Tclfmt plugin formats the TCL sourse files.
- Install using Package Control by searching for "Tclfmt"
- Install using command "git clone https://github.com/Rain7232/Tclfmt" inside the Sublime Text Packages directory.
- Format on save if the setting of "format_on_save" is True.
- Or use the menu item "Tclfmt" under the right-click context menu.