ctrl+shift+(up and down) started working strangely after the update to 2.1
ctrl+shift+(up and down) started working strangely after the update to 2.1
Is this some new design, a bug or a feature that can be turned off?
it used to work like this:
switch(){
case'one':
print "this is the first option";
break;
case'two':
print "this is the second option";
break;
}
print "this is what i want to move around.";
It used to be that if i tried to use ctrl+shift+up to move that last print line up, it would move up one line at a time up past the last closing bracket, up passed the break up over the print then the case then the next break.
Moving up one line at a time. But now it seams to have a different set of rules. If i try to move one of the lines inside one of the switch clauses it will move the WHOLE switch statement up or down.
This is not what i want. If I wanted the whole switch statement to move, i would highlight it all first, THEN use the ctrl+shift+up/down.
How can i make it work like it worked before. One line at a time?
Please sign in to leave a comment.
Please check out proper shortcuts for Code|Move Statement and Code|Move Line in the main menu.
There was no proper Move Statement for PHP and we recently fixed it.
Thanks Alexey.
That works. ctrl+shift+up/down is now alt+shift+up/down.
Why change the keystrokes? couldnt the new functionality have gone on alt+shift+up/down so there is no need to re-learn keys.
no matter, issue resolved now. much appreciated.
There was no change in keystrokes. We just implemeneted proper Move Statement for PHP language.