One year later
Are there any plans to include code formatting in the future/is there a plugin available?
I was looking for this too so as a workaround I load the files into Visual Studio Code (which is free) and use the auto indent tool there
A while back someone ported over a formatter to work in TC as a script extension. I can't find the original post so I can't give proper credits, but attached is a zip of the extension files.