DEV Community

Discussion on: VS Code Keyboard Shortcuts

Collapse
emnudge profile image
EmNudge

Shift + TAB actually does the same thing as Ctrl + [
The actual useful shortcut is Ctrl + ], strangely enough

You see, if you're in the middle of a line and press TAB, you will break up the line, adding a TAB inside of it. Using Ctrl + ] will indent the entire line, no matter where your cursor is.

Ctrl + [ and Shift + TAB are functionally the same as far as I have seen, though.

Collapse
fishj123 profile image
Jack Fisher Author

Awesome I didn't know that and I'll definitely be using it in future so thanks for the heads up