Just wondering: Is there a key-combination for moving code blocks left (inverted tab)? shift+ tab doesn't seem to work.

  • 1
    Clicking the code block icon seems to do just that when you paste code which is inverted to the right. Each click removing one tab from the beginning of each line... – Shadow Wizard is Ear For You Apr 3 '13 at 12:55
  • Wouldn't it be nice to add shift + tab to the editor? – Rob Apr 3 '13 at 12:57
  • 1
    Ctrl + K will indent/unindent code blocks. – Oded Apr 3 '13 at 12:57
  • 3
    There's no way to do it... I often paste the code in an IDE or something like JsFiddle (which allow shift + tab) in order to reindent – Hugo Dozois Apr 3 '13 at 13:06
  • @HugoDozois If there's no way to do it, would it be a valid feature-request? – Rob Apr 3 '13 at 13:24
  • I would upvote that as I'd like to have that – Hugo Dozois Apr 3 '13 at 13:25
  • @Rob A valid request, probably. But a duplicate one, I think. I'm not good at searching, and too lazy to do now, but I'm almost sure I remember the tab key being made usable for code indetation/unindentation being requested before. – Daniel Fischer Apr 3 '13 at 13:32

Select the code, press Ctrl + K or click on {} icon to format it as code and click again (while text is selected) for undo.

|improve this answer|||||
  • 4
    Well it's not an equivalent of the shift + tab behavior.. – Rob Apr 3 '13 at 13:00
  • @Rob - Can you format your text as code by pressing tab? – hims056 Apr 3 '13 at 13:26

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