Could we get a Toggle Button when writing a post that would make it so that the Tab key inserts Space x 4 instead of tabbing out of the TextBox
?
There are so many times when I'm writing an answer containing code and would like to indent it correctly, however the tab key leaves the TextBox
instead of indenting my typing.
This is even more annoying when writing answers, as the Tab key moves to the "Post Answer" button, and hitting Enter before you notice ends up posting an incomplete answer.
My current workaround is to copy 4 spaces and use Ctrl+V instead of Tab to indent my code as I'm typing it, but this is obnoxious as it requires an extra step, and has to be re-copied anytime I copy/paste anything else. And I'm very forgetful and frequently hit Tab out of habit anyways.
Note that this is not quite a duplicate of Have “Tab” key insert spaces when writing a question or answer as I'm not asking for a universal feature that would prevent keyboard navigation completely, but would instead like an optional toggle button or CheckBox to turn this feature on/off depending on user preference :)