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. |
Ctrl+Alt+F | Extract Field | Declare a new field and initialize it with the selected expression (Refactoring). See Extract Field in TypeScript and Extract Field in JavaScript for details. |
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). See Extract Method in JavaScript Extract Method in Typescript for details. |
Ctrl+Alt+N | Inline | Inline the selected method or variable, see Inline refactorings in JavaScript and Inline refactorings in TypeScript. |
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 Extract Variable in JavaScript, Extract Variable in TypeScript, and Extract Variable in Sass |
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 On a macOS computer, you can also use the three-finger right-to-left swipe gesture. |
Ctrl+Alt+Right | Forward | Redo last undone navigation operation. See page Navigating to Navigated Items On a macOS computer, you can also use the three-finger left-to-right swipe gesture. |
Ctrl+Alt+Home | Navigate to Related Symbol | Navigates between files with the various relationships. See Navigation In Source Code. |
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: 26 March 2018