36

When programming in VS Code, I always use the Tab key for indenting. But, I was surprised that is stopped working all of a sudden. How do I fix this?

2
  • 6
    If you have enabled the "Tab Moves Focus" -mode, try pressing Ctrl + M, and then try if the tab key works correctly. Jun 6, 2019 at 19:58
  • that is one of the WORST features EVER. I have been triple spacing my lines all day because >>>>TAB<<<< wont work. Now I have to go fix it all. WHOSE IDEA WAS THAT? thanks for the help!
    – greg
    Jan 29, 2023 at 20:28

1 Answer 1

66

You have enabled the Tab Moves Focus -mode.

Press Ctrl+M to disable the mode. After that your Tab-key indents your code again.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .