4 ms·
Selecting and hitting tab or shift-tab (or <, > in Vim) to adjust the indent level isn't all that difficult.
by boardwaalk 5y ago
Selecting and hitting tab or shift-tab (or <, > in Vim) to adjust the indent level isn't all that difficult.
- kinjba11 5y agoTools like Prettier can automate this with curly-brace languages, so indentation (tabs or spaces?) stops being something you waste brain power on, similar to how code editors will match the current line's indent on the next line when you press enter even though it's just "press tab a few times". It adds up. // 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 (...) { ... } }