English 中文(简体)
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 suitable.

问题回答

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.





相关问题
Netbeans CVS - existing repo - existing working copy

I m using Netbeans to develop with Drupal. I m trying to let Netbeans get drupal core and modules from the repository on drupal.org to my local working copy. Problem is: I already have a working ...

Java Library and Class Path Problems

Quick personal background: I was hired a few months ago as the sole .NET developer (C#) by a company whose other devs are all php devs. A week into the job I was told they wanted to switch to Java ...

Privileged operations in netbeans mobility

I m writing a Java ME app that will use privileged operations such as messaging. By default the user is prompted to confirm each of these operations, but I would like to run it as a background ...

Running unit tests on both windows and linux

Is there a way, a method, to be able to effectively run unit tests (phpunit) on both linux and windows? I need to do this because some parts of the system is only available under linux, but i do want ...

Dependency bundle (jar-files/sources/API docs) in Eclipse

I m developing various in-house extensions for JIRA, the issue tracker we use. So far I worked with Netbeans and everything worked like a charm. However, now I need to switch to Eclipse and I m ...

热门标签