4 ms·
Yes, there are millions of us. When you need to backspace you immediately appretiate pressing the backspace key once instead of 4 times (or more).
by smallstepforman 5y ago
Yes, there are millions of us. When you need to backspace you immediately appretiate pressing the backspace key once instead of 4 times (or more).
- tokai 5y agoCtrl+Backspace deletes all the spaces in one go.
- turbinerneiter 5y agoThat's not how this works in any editor or IDE. I guess 99% of the arguments around tabs or spaces are wrong. I use spaces because that's common in Python, which is the first language I learned and because I saw some bad codebases that mixed tabs and spaces. But I don't think it matters. The only thing that matters is consistency.
- eMSF 5y agoWell, in some sense what happens with “smart“ indentation features in editors is anything but consistent (I know I'm not talking about the same consistency here), because they only ever make an exception for the backspace key to remove N spaces – in some cases. An arrow key only ever moves one space at a time and a delete doesn't ever remove N spaces and you can still land in the middle of an indentation level either with arrow keys or with your mouse cursor, etc.. And to make matters worse, the way the backspace key works isn't even always what you want; say you try to align something and happen to press space one time too many: in many editors pressing a backspace there doesn't fix your problem but only makes it worse...
- hknapp 5y ago> That's not how this works in any editor or IDE. i'm sitting behind visual studio, which requires backspacing through.
- jussij 5y agoThis will depend on the editor used. In the editor I use, for any line containing whitespace the backspace takes me back to the previous indent point and the backspace only works as a single backspace for lines that contain visible text.