PhpStorm 8.0.0 Web Help

Ctrl+Alt

This section lists and describes the keyboard shortcuts that include the Ctrl+Alt keys:

Ctrl+alt+alphanumeric keys

Shortcut Function Use this shortcut to...
Ctrl+Alt+B Navigate to Implementation Navigate to implementation of an item at the caret.

This type of navigation lets you jump from a base type or member to any of its end implementations skipping the intermediate steps in the inheritance chain. For example, suppose that class MyClass inherits abstract class MyAbstractClass, which, in its turn, implements interface MyOriginalInterface. Choosing Go to Implementation when the caret is positioned at MyOriginalInterface takes you directly to the declaration of MyClass.

Ctrl+Alt+C Extract Constant Replace selected expression with a constant (static final field) (Refactoring).
Ctrl+Alt+F Extract Field Put a selected expression result into a field (Refactoring).
Ctrl+Alt+H Call Hierarchy Browse call hierarchy for the selected method.
Ctrl+Alt+I Auto-indent Lines Indent current line or selected block according to the Code Style Settings.
Ctrl+Alt+J Surround with Live Template Surround the selection with one of the Live Templates.
Ctrl+Alt+M Extract Method Create a method from the selected code (Refactoring).
Ctrl+Alt+N Inline Inline a selected method/variable (Refactoring).
Ctrl+Alt+P Extract Parameter Turn a selected expression into a method parameter (Refactoring).
Ctrl+Alt+T Surround with Surround selected code fragment with if, while, try/catch, or another construct.
Ctrl+Alt+V Extract Variable Put selected expression result into a variable (Refactoring).
Ctrl+Alt+Y Synchronize Detect all externally changed files and reload them from disk.

Ctrl+alt+navigation keys

Shortcut Function Use this shortcut to...
Ctrl+Alt+Enter Start new line before current one Start a new line before the current one.
Ctrl+Alt+Down
Ctrl+Alt+Up
Navigate to Next/Previous Occurrence Navigate to a next found item .
Ctrl+Alt+Left Back Undo last navigation operation.
Ctrl+Alt+Right Forward Redo last undone navigation operation.
Ctrl+Alt+Home Navigate to Related Symbol Navigates between files with the various relationships. See Navigation in Source Code.

Ctrl+Alt+Function (F) key

Shortcut Function Use this shortcut to...
Ctrl+Alt+F6 Switch to another coverage suite. Open the Coverage Suites popu-up window and select the desired suite to run.
Ctrl+Alt+F7 Show usages Show usages of a symbol at the caret.
Ctrl+Alt+F8 Quick Evaluate Expression Evaluate an arbitrary expression without calling Evaluate Expression dialog box.
Ctrl+Alt+F9 Force Run To Cursor Run to the line where the caret is located, ignoring breakpoints.

See Also

Last modified: 6 December 2014
comments powered by Disqus