NetBeans "Shift Left" analog on PHPStorm
I am deciding to migrate from NetBeans to PHPStorm IDE, and the only feature I have not found in PHPStorm is "Shift Left (Right), Move Down (Up)", which moves a line on one tab to the left, right, or swaps with next or previous line. Does PHPStorm have any analog of this?
Using Tab or Shift+Tab is not suitab开发者_Go百科le.
There's no built-in way to Tab/Untab (Indent/Unindent) line w/o making a selection in Jetbrains PhpStorm. So, Tab & Shif+Tab is your only choice.
As for move line Up & Down Try Ctrl+Shift+Up/Down. However this action also interacts with program structure and not just moves line as in text.
Select your code and then press Shift+TAB to shift to left or just press TAB to shift to right.
Works in phpstorm and wbestorm.
[CTRL] [ALT] [I] will auto indent the line where your cursor is or any selected lines.
精彩评论