Selecting and hitting tab or shift-tab (or <, > in Vim) to adjust the indent level isn't all that difficult.
// just copied some code into this while block, oops I copied an extra space out front...
while (...) {
if (...) {
...}
}
// after Ctrl+S tied to autoformat
while (...) {
if (...) {
...
}
}