Open alexdima opened 6 years ago
Please note that shift+tab always works, it just always operates on the beginning of a line:
So, did you find out a solution?
This has suddenly stopped working for me. Randomly today shift+tab started navigating around the UI rather than outdenting. /shrug
My coworker doesn't remember how he figured this out, but if this happens to you, hit ctrl+m
(or whatever the equivalent is on your machine). Now tab goes back to normally functionality.
Above worked for me, toogle tab key moves focus (ctrl + m
) toggles this unwanted behavior. Thanks @komali2
Is there a solution for this? Coming from Visual Studio, where I used in-line outdent all the time, this is a big friction point when working with VS Code. I'd also be fine with installing an extension.
The default value for the command "outdent" is "ctrl + [" This default value might have been shift + tab in previous versions. I noticed the same issue described in this but, and I was able to get back the desired behavior after updating the key binding to shift + tab
Nope, that's not the desired behavior unfortunately.
See this example:
The desired behavior would be that the outdent happens at the cursor position, not the beginning of the line.
Basically, what is needed to fix this is an inverse of the tab
command.
Let's make a group, then when it's thousands of members, invoice Microsoft for the replacement of our backspace buttons until they add the functionality...
But seriously, is there any way to add the desired behavior yet?
This issue has been open for over 3 1/2 years. Something that, I suppose, is a one line fix. This is sad :(
This issue has been open for over 3 1/2 years. Something that, I suppose, is a one line fix. This is sad :(
on the other hand if you manage to get it fixed and a PR in you can add
microsoft vscode (twenty trillion stars on github) contributor
to your resume!
Nope, that's not the desired behavior unfortunately.
See this example:
The desired behavior would be that the outdent happens at the cursor position, not the beginning of the line.
Shouldn't backspace just remove the "tab" or am I missing something?
Extracted from https://github.com/Microsoft/vscode/issues/32280#issuecomment-333843440
From @martinsuchan
Shift+Tab does not outdent. Tested in *.ps1 files. No idea if this has worked in previous versions, just noticed it now.
Edit it works when I'm on the start of the line, but not in between strings. In VS2017 it works even between strings. Not sure it this is native VS behavior or ReSharper, but I use it a lot.