Xcode Editor Move Selection up or down key-binding broken in 7.2?

Just migrated to 7.2 from 7.1.1


I use, many times a day, the "move selection around" editor command, which moves the one to many selected lines up or down. When I just tried in 7.2, Xcode just beep'd at me.


So I went to key bindings and noticed that my override, that I had setup long ago and was carried over from one Xcode to the next just wasn't there anymore.


What's worse, I just cannot recall, now that I try hard to think of it, what was the sequence that my "muscle memory" remembers so well, but the rest of my brain draws a blank on.


Note to mention that the wording of the key commands is a bit ambiguous: am I moving the "selection" or am I moving a "paragraph", and what is a "paragraph" as far as ObjC or Swift code is concerned?


I kind of recall I was using command-option-up-arrow for

Move Paragraph Backward

and command-option-down-arrow for

Move Paragraph Forward


but when I assign them and try to use them, Xcode just beeps at me and acts as if said commands where just plain up or down arrows.


What am I missing?

Answered by verecundus in 93833022

The commands turned out to be

Structure/Move Line Up

Structure/Move Line Down

Amd whichever free command shortcut I assign seems to work...

Accepted Answer

The commands turned out to be

Structure/Move Line Up

Structure/Move Line Down

Amd whichever free command shortcut I assign seems to work...

Moving a full line or many lines of code up or down using: ⌘ ⌥ { to move up and  ⌘ ⌥ } to move down. If you have text selected, Xcode will move each line containing your selection; otherwise, it’ll move the line the cursor is in.
Xcode Editor Move Selection up or down key-binding broken in 7.2?
 
 
Q