Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 3 Deleting Code when I hit Tab Key

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?

like image 421
user3236406 Avatar asked Mar 13 '14 15:03

user3236406


People also ask

What is sublime Text3?

Sublime Text 3 (ST3) is a lightweight, cross-platform code editor known for its speed, ease of use, and strong community support. It's an incredible editor right out of the box, but the real power comes from the ability to enhance its functionality using Package Control and creating custom settings.

How do I use sublime tabs?

Use Cmd (Mac) or Alt (Windows) with the number keys 0–9 to switch between tabs in Sublime Text. For example hit Cmd–2 (Mac) or Alt–2 (Windows) to switch to the second tab. You can also use Ctrl–Tab (Mac and Windows) to cycle through your tabs.


1 Answers

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.

like image 180
Dom UIXNZ Avatar answered Sep 19 '22 16:09

Dom UIXNZ