2

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

7
  • 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... Commented Apr 3, 2013 at 12:55
  • Wouldn't it be nice to add shift + tab to the editor?
    – Rob
    Commented Apr 3, 2013 at 12:57
  • 1
    Ctrl + K will indent/unindent code blocks.
    – Oded
    Commented Apr 3, 2013 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 Commented Apr 3, 2013 at 13:06
  • @HugoDozois If there's no way to do it, would it be a valid feature-request?
    – Rob
    Commented Apr 3, 2013 at 13:24
  • I would upvote that as I'd like to have that Commented Apr 3, 2013 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. Commented Apr 3, 2013 at 13:32

1 Answer 1

4

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

2
  • 4
    Well it's not an equivalent of the shift + tab behavior..
    – Rob
    Commented Apr 3, 2013 at 13:00
  • @Rob - Can you format your text as code by pressing tab?
    – Himanshu
    Commented Apr 3, 2013 at 13:26

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