Sublime Text 3 Deleting Code when I hit Tab Key

user3236406 picture user3236406 · Mar 13, 2014 · Viewed 13.6k times · Source

When I highlight a block of code in Sublime Text 3 and press the Tab key, it doesn't indent the whole block like it used to. Instead, it deletes the highlighted code.

Anybody know how to fix this?

Answer

Dom UIXNZ picture Dom UIXNZ · Apr 17, 2015

This is a simple Alt+tab (Cmd+tab) issue

I have found that this happens when I've missed the "purchase this software" dialogue and have not dismissed it.

Alt-tab (or Cmd-tab on Mac) to check if there is a dialog waiting for a response and dismiss it. This will resolve the issue.

As others have mentioned restarting Sublime will also resolve this issue because it is essentially dismissing the dialogue.