What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

This question already has an answer here:

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

share|improve this question

marked as duplicate by Cody Gray, hims056, bluefeet, Toon Krijthe, Austin Henley Apr 4 '13 at 6:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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 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

1 Answer 1

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

share|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 .