PhpStorm 2018.2 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 the selected expression result into a field (Refactoring).

Ctrl+Alt+H

Call Hierarchy

Browse call hierarchy for the selected method. See page Viewing Structure and Hierarchy of the Source Code

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 the selected method/variable (Refactoring).

Ctrl+Alt+P

Extract Parameter

Turn the 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). See page Extract Variable.

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 the next/previous found item.

Ctrl+Alt+Left

Back

Undo last navigation operation. See page Navigating to Navigated Items
Ctrl+Alt+Right

Forward

Redo last undone navigation operation. See page Navigating to Navigated Items
Ctrl+Alt+Home

Navigate to Related Symbol

Navigates between files with the various relationships.

Ctrl+Alt+Function (F) keys

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. See page Viewing Usages of a Symbol

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 page Stepping Through the Program.

Last modified: 21 November 2018

See Also