Your comments

That would work great for myself. With vim, selecting all text and hitting "=" reindents all the code. But I'm not familiar with the differences in how vim and Textastic handle language modes.

It looks like Textastic still does not support formatting code, correct? I love this editor but this is a huge feature to be missing. I'm experimenting with moving more development to an iPad Pro and Textastic and Working Copy have been two critical tools but I will have to investigate some other editing options until (or if) this feature ever gets implemented.