8

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?

  • 1
    If you have enabled the "Tab Moves Focus" -mode, try pressing Ctrl + M, and then try if the tab key works correctly. – Aulis Ronkainen Jun 6 '19 at 19:58
20

You probably enabled the Tab Moves Focus -mode.

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

| improve this answer | |
  • 1
    Nice catch, thank you! – Mohammad Feb 25 at 9:28
  • Thanks ........ – Ayman Morsy Apr 3 at 10:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.