Reputation: 1038
I'm a long time Eclipse user. When using Eclipse, if I hit Tab while my cursor is in the whitespace that precedes the line's first non-whitespace character, the cursor jumps to the first non-whitespace character. If I hit Tab again, it will insert a tab (or requisite number of spaces) as expected.
In vscode, if my cursor is in the whitespace before the first character and I hit tab, the line gets indented further. I'm looking to be able to jump my cursor to the first non-whitespace character on the line like I do with Eclipse.
I've read through all of the settings and googled a bit but can't find this addressed.
Upvotes: 4
Views: 2826
Reputation: 65897
Press the Home key. If the cursor is already on the first non-whitespace character, pressing Home will move the cursor to the first character on the line instead.
Upvotes: 9