Basic Keyboard Shortcuts
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| ⇧Shift + ⇧Shift | ⇧Shift + ⇧Shift | Search Everywhere | Opens a search window for all IDE elements. |
| Ctrl + ⇧Shift + A | ⌘Cmd + ⇧Shift + A | Find action... | Opens a list of all available actions |
| Alt + 1 | ⌘Cmd + Ctrl + 1 | Project window | Shows the project tree panel |
| Ctrl + ⇧Shift + F9 | ⌘Cmd + ⇧Shift + F9 | Rebuild | Rebuilds all project modules |
| Alt + ⏎Enter | ⌥Option + ⏎Enter | Invoke tooltips | Shows quick actions and fixes |
| Ctrl + E | ⌘Cmd + Ctrl + E | Recent Files | Opens a list of recently opened files |
| Alt + F7 | ⌥Option + F7 | Find Uses | Finds all uses of an element |
| Alt + F1 | ⌥Option + F1 | Select in... | Displays the current file in another window |
| Ctrl + Alt + S | ⌘Cmd + Ctrl + , | Settings... | Opens the IDE settings window |
| Alt + Insert | ⌘Cmd + Ctrl + N | Generate... | Code generation: getters, setters, constructors, etc. |
| Ctrl + Ctrl | Ctrl + Ctrl | Run Anything | Run commands and actions from anywhere |
| Alt + ⇧Shift + F9 | Ctrl + ⌥Option + Ctrl + D | Debug... | Opens the debugger launch menu |
| Ctrl + ⇧Shift + F8 | ⌘Cmd + ⇧Shift + F8 | Breakpoints | Opens the breakpoint manager |
| Ctrl + Alt + F5 | ⌥Option + ⇧Shift + F5 | Attach to process | Attach to a running process for debugging |
| Alt + ` | Ctrl + Ctrl + V | VCS operations | Burst the VCS commands pop-up window |
| Ctrl + Alt + ⇧Shift + T | Ctrl + Ctrl + T | Refactoring... | Opens the refactoring menu |
| Ctrl + Alt + L | ⌘Cmd + ⌥Option + Ctrl + L | Code Format | Formats code according to project standards |
Building Projects
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Ctrl + Alt + Insert | Ctrl + ⌥Option + Ctrl + N | New in Folder | Creates a new file or folder in the selected directory |
| Ctrl + F9 | ⌘Cmd + F9 | Build Project | Compiles the project |
| Ctrl + ⇧Shift + F9 | ⌘Cmd + ⇧Shift + F9 | Rebuild | Complete rebuild of all modules |
Basic Editing
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Ctrl + X | ⌘Cmd + Ctrl + X | Cut | Cuts the selected fragment |
| Ctrl + C | ⌘Cmd + Ctrl + C | Copy | Copies the selected fragment |
| Ctrl + V | ⌘Cmd + Ctrl + V | Insert | Pastes from the clipboard |
| Ctrl + Alt + ⇧Shift + V | ⌘Cmd + ⌥Option + ⇧Shift + Ctrl + V | Paste as text | Pastes without formatting |
| Ctrl + ⇧Shift + V | ⌘Cmd + ⇧Shift + Ctrl + V | Paste from history | Open clipboard history |
| Ctrl + ⇧Shift + C | ⌘Cmd + ⇧Shift + Ctrl + C | Copy Paths | Copies the path to a file or element |
| Ctrl + Alt + ⇧Shift + C | ⌘Cmd + ⌥Option + ⇧Shift + Ctrl + C | Copy Link | Copies a link to an element (reference) |
| Ctrl + S | ⌘Cmd + Ctrl + S | Save All | Saves all open files |
| Ctrl + Z | ⌘Cmd + Ctrl + Z | Undo | Undoes the last action |
| Ctrl + ⇧Shift + Z | ⌘Cmd + ⇧Shift + Ctrl + Z | Repeat | Repeats the undone action |
| ⇥Tab | ⇥Tab | Indent right | Adds indent to selection |
| ⇧Shift + ⇥Tab | ⇧Shift + ⇥Tab | Indent Left | Removes indent from selection |
| Ctrl + Alt + I | Ctrl + ⌥Option + Ctrl + I | Auto-Indents | Automatically aligns indents |
| ⇧Shift + ⏎Enter | ⇧Shift + ⏎Enter | New Line | Inserts a new line below the cursor |
| Ctrl + Alt + ⏎Enter | ⌘Cmd + ⌥Option + ⏎Enter | New line above | Inserts a new line aboveCursor |
| Ctrl + Y | ⌘Cmd + ⌫Backspace | Delete line | Deletes the line with the cursor |
| Ctrl + ⇧Shift + J | Ctrl + ⇧Shift + Ctrl + J | Merge Rows | Merges selected rows into one |
| Ctrl + D | ⌘Cmd + Ctrl + D | Duplicate line | Copies the line below |
| Ctrl + ⇧Shift + U | ⌘Cmd + ⇧Shift + Ctrl + U | Shift case | Toggles the case of the selected text |
| Ctrl + Alt + ⇧Shift + Insert | ⌘Cmd + ⇧Shift + Ctrl + N | Temporary file | Creates Temporary note file |
| ⇧Shift + F4 | ⇧Shift + F4 | Open source in a new window | Open the file in a new editor window |
| ⇧Shift + Alt + . | Ctrl + ⇧Shift + Ctrl + . | Increase font | Increases the font in all editors. |
| ⇧Shift + Alt + , | Ctrl + ⇧Shift + Ctrl + , | Decrease font size | Decreases the font size in all editors |
Cursor navigation
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Ctrl + ←Left | ⌥Option + ←Left | Go to the previous word | Moves the cursor to the beginning of the previous word |
| Ctrl + →Right | ⌥Option + →Right | Go to the next word | Moves the cursor to the next word |
| Home | ⌘Cmd + ←Left | Go to the beginning of the line | Moves the cursor to the beginning of the line |
| End | ⌘Cmd + →Right | Go to end of line | Moves the cursor to the end of the line |
| Ctrl + ⇧Shift + M | Ctrl + Ctrl + M | Go to matching parenthesis | Moves the cursor to the matching parenthesis |
| Ctrl + [ | ⌘Cmd + ⌥Option + [ | Go to beginning of block | Moves the cursor to the beginning of the code block |
| Ctrl + ] | ⌘Cmd + ⌥Option + ] | Go to end of block | Moves the cursor to the end of the code block |
| Alt + ↓Down | Ctrl + ⇧Shift + ↓Down | Next method | Moves the cursor to the next method |
| Alt + ↑Up | Ctrl + ⇧Shift + ↑Up | Previous method | Moves the cursor to the previous method |
| Ctrl + Pg Up | ⌘Cmd + Pg Up | To the top of the page | Moves the cursor to the top of the screen |
| Ctrl + Pg Dn | ⌘Cmd + Pg Dn | To the bottom of the page | Moves the cursor to the bottom of the screen |
| Pg Up | Pg Up | Page Up | Scrolls the screen one page up |
| Pg Dn | Pg Dn | Page Down | Scrolls the screen one page down |
| Ctrl + Home | ⌘Cmd + Home | Go to the beginning of the file | Moves the cursor to the beginning of the document |
| Ctrl + End | ⌘Cmd + End | Go to the end of the file | Moves the cursor to the end of the document |
Select text
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Ctrl + A | ⌘Cmd + Ctrl + A | Select All | Selects all text in the document |
| ⇧Shift + ←Left | ⇧Shift + ←Left | Select Left | Extends the selection to the left by a character |
| ⇧Shift + →Right | ⇧Shift + →Right | Select Right | Extends the selection to the right by a character |
| Ctrl + ⇧Shift + ←Left | ⌥Option + ⇧Shift + ←Left | Select to word | Extends selection to the previous word |
| Ctrl + ⇧Shift + →Right | ⌥Option + ⇧Shift + →Right | Select to word | Extends the selection to the next word |
| ⇧Shift + Home | ⌘Cmd + ⇧Shift + ←Left | Select to beginning of line | Selects from the cursor to the beginning of the line |
| ⇧Shift + End | ⌘Cmd + ⇧Shift + →Right | Select to end of line | Selects from the cursor to the end of the line |
| ⇧Shift + ↑Up | ⇧Shift + ↑Up | Highlight up | Extends the selection one line up |
| ⇧Shift + ↓Down | ⇧Shift + ↓Down | Select Down | Extends the selection one row down |
| Ctrl + ⇧Shift + [ | ⌘Cmd + ⌥Option + ⇧Shift + [ | Select to the beginning of the block | Selects from the cursor to the beginning of the block |
| Ctrl + ⇧Shift + ] | ⌘Cmd + ⌥Option + ⇧Shift + ] | Select to end of block | Selects from the cursor to the end of the block |
| Ctrl + ⇧Shift + Pg Up | ⌘Cmd + ⇧Shift + Pg Up | Select to top of page | Selects text to the top of the screen |
| Ctrl + ⇧Shift + Pg Dn | ⌘Cmd + ⇧Shift + Pg Dn | Select to end Pages | Selects text to the bottom of the screen |
| ⇧Shift + Pg Up | ⇧Shift + Pg Up | Select page up | Extends the selection one page up |
| ⇧Shift + Pg Dn | ⇧Shift + Pg Dn | Select page down | Extends the selection one page down |
| Ctrl + ⇧Shift + Home | ⌘Cmd + ⇧Shift + Home | Select to the beginning of the file | Selects all text to the beginning of the document |
| Ctrl + ⇧Shift + End | ⌘Cmd + ⇧Shift + End | Select to end of file | Selects all text to the end of the document |
| Ctrl + W | ⌥Option + ↑Up | Extend selection | Extends the selection to the next logical unit (word, phrase, block, etc.) |
| Ctrl + ⇧Shift + W | ⌥Option + ↓Down | Narrow Selection | Narrows the selection based on the current logic (word, phrase, block, etc.) |
Code folding
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Ctrl + NumPad + | ⌘Cmd + NumPad + | Expand | Expands the fold under the cursor |
| Ctrl + NumPad - | ⌘Cmd + NumPad - | Collapse | Collapses the block of code under the cursor. |
| Ctrl + ⌥Option + NumPad + | ⌘Cmd + ⌥Option + NumPad + | Expand recursively | Expands all nested blocks |
| Ctrl + ⌥Option + NumPad - | ⌘Cmd + ⌥Option + NumPad - | Collapse recursively | Collapses all nested blocks |
| Ctrl + ⇧Shift + NumPad + | ⌘Cmd + ⇧Shift + NumPad + | Expand All | Expands all collapsed blocks in the file |
| Ctrl + ⇧Shift + NumPad - | ⌘Cmd + ⇧Shift + NumPad - | Collapse All | Collapses all expanded blocks in File |
| Ctrl + . | ⌘Cmd + Ctrl + . | Collapse Selection | Collapses the selected code fragment |
Multiple Carets
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Title | Description |
|---|---|---|---|
| Alt + ⇧Shift + mouse click | ⌥Option + ⇧Shift + mouse click | Add/Remove Cursor | Adds a new cursor at the click point |
| Alt + ⇧Shift + Insert | ⌘Cmd + ⇧Shift + Ctrl + 8 | Row Mode | Enables Columnar Selection Mode |
| Ctrl + Ctrl + ↑Up | ⌥Option + ⌥Option + ↑Up | Copy cursor above | Adds the cursor above the current line |
| Ctrl + Ctrl + ↓Down | ⌥Option + ⌥Option + ↓Down | Copy cursor below | Adds the cursor below the current line |
| Alt + ⇧Shift + G | ⌥Option + ⇧Shift + Ctrl + G | Cursor on every line | Adds a cursor at the beginning of each line of the selection |
| Alt + J | Ctrl + Ctrl + G | Add next occurrence | Adds the next match to the selection |
| Ctrl + Alt + ⇧Shift + J | ⌘Cmd + Ctrl + Ctrl + G | Select all occurrences | Selects all matches in the file |
| Alt + ⇧Shift + J | Ctrl + ⇧Shift + Ctrl + G | Remove last occurrence | Removes the last added occurrence from the selection |
| Alt + ⇧Shift + Middle-Click | ⌥Option + ⇧Shift + Middle-Click | Rectangular Selection | Creates a rectangular selection area |
| Alt + click | ⌥Option + click | Drag selection | Creates a rectangular area by dragging |
| Ctrl + Alt + ⇧Shift + click | ⌘Cmd + ⌥Option + ⇧Shift + click | Multiple Selection | Creates multiple rectangular selections |
Code Hints
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Alt + ⏎Enter | ⌥Option + ⏎Enter | Invoke tooltips | Shows quick actions and fixes |
| Ctrl + Space | Ctrl + Space | Basic completion | Completes code by element name |
| Ctrl + ⇧Shift + Space | Ctrl + ⇧Shift + Space | Type Completion | Matches arguments based on the expected value type |
| Ctrl + Alt + Space | Ctrl + ⌥Option + Space | Second Completion | Alternative Code Completion |
| Alt + \ | ⌥Option + Ctrl + \ | Complete with AI | Complete the line using the AI Assistant |
| Ctrl + \ | ⌘Cmd + Ctrl + \ | Generate AI Code | Generates code using AI Assistant |
| Ctrl + ⇧Shift + ⏎Enter | ⌘Cmd + ⇧Shift + ⏎Enter | Complete expression | Automatically completes the current expression |
| Ctrl + Alt + L | ⌘Cmd + ⌥Option + Ctrl + L | Code Format | Formats code according to standards |
| Ctrl + P | ⌘Cmd + Ctrl + P | Parameter Help | Shows a hint for function parameters |
| Ctrl + F1 | ⌘Cmd + F1 | Error Description | Shows a detailed error description |
| ⇧Shift + F1 | F1 | Quick Help | Opens documentation for the element |
| Ctrl + ⇧Shift + ↑Up | ⌘Cmd + ⇧Shift + ↑Up | Move row up | Moves a row or selection up |
| Ctrl + ⇧Shift + ↓Down | ⌘Cmd + ⇧Shift + ↓Down | Move line down | Moves a line or highlight below |
| Ctrl + Alt + ⇧Shift + ←Left | ⌘Cmd + ⌥Option + ⇧Shift + ←Left | Move left | Shifts the element to the left |
| Ctrl + Alt + ⇧Shift + →Right | ⌘Cmd + ⌥Option+ ⇧Shift + →Right | Move right | Moves the element to the right |
| Alt + ⇧Shift + ↑Up | ⌥Option + ⇧Shift + ↑Up | Move line up | Moves line higher |
| Alt + ⇧Shift + ↓Down | ⌥Option + ⇧Shift + ↓Down | Move line down | Move line down |
| Ctrl + / | ⌘Cmd + Ctrl + / | Line Comment | Comments/Uncomments a line |
| Ctrl + ⇧Shift + / | ⌘Cmd + ⌥Option + Ctrl + / | Block comment | Comments/uncomments a block |
| Ctrl + Alt + T | ⌘Cmd + ⌥Option + Ctrl + T | Surround... | Surrounds code with a construct (if, try, for, etc.) |
| Alt + Insert | ⌘Cmd + Ctrl + N | Generating... | Code generation: getters, setters, toString, etc. |
Context navigation
| Windows keyboard shortcuts | macOS keyboard shortcuts | Title | Description |
|---|---|---|---|
| Alt + ↓Down | Ctrl + ⇧Shift + ↓Down | Next Method | Go to the next method |
| Alt + ↑Up | Ctrl + ⇧Shift + ↑Up | Previous method | Go to previous method |
| Ctrl + G | ⌘Cmd + Ctrl + L | Go to line | Opens a dialog for entering row and column numbers |
| Ctrl + ⇥Tab | Ctrl + ⇥Tab | Switch | Switches between open files |
| Alt + F1 | ⌥Option + F1 | Select in... | Shows the current file in another window |
| Ctrl + E | ⌘Cmd + Ctrl + E | Recent Files | List of Recently Opened Files |
| Alt + ⇧Shift + C | ⌥Option + ⇧Shift + Ctrl + C | Recent Changes | List of Recent Edits in the Project |
| Ctrl + ⇧Shift + ⌫Backspace | ⌘Cmd + ⇧Shift + ⌫Backspace | Last edit | Go to last edit location |
| Ctrl + Alt + ←Left | ⌘Cmd + Ctrl + [ | Back | Go to previous cursor position |
| Ctrl + Alt + →Right | ⌘Cmd + Ctrl + ] | Forward | Move to next cursor position |
| Alt + →Right | ⌘Cmd + ⇧Shift + Ctrl + ] | Next Tab | Switches to the next editor tab |
| Alt + ←Left | ⌘Cmd + ⇧Shift + Ctrl + [ | Previous Tab | Switches to the previous editor tab |
| F11 | F3 | Bookmark | Sets/removes an anonymous bookmark |
| Ctrl + ⇧Shift + F11 | Ctrl + ⇧Shift + [missing] | Bookmark by number | Creates a bookmark with a numeric marker |
| Ctrl + F11 | ⌥Option + F3 | Bookmark by mnemonic | Creates a bookmark with a mnemonic marker |
| ⇧Shift + F11 | ⌘Cmd + F3 | All bookmarks | Shows the all bookmarks window |
| Ctrl + F11 | Ctrl + [missing] | Go to bookmark | Go to Bookmark by number |
| ⇧Shift + F11 | ⌘Cmd + ⌥Option + F3 | Bookmarks with mnemonics | Shows bookmarks with mnemonic markers |
| Alt + 2 | ⌘Cmd + Ctrl + 2 | Bookmarks Window | Opens the Bookmarks Toolbar |
| Alt + 7 | ⌘Cmd + Ctrl + 7 | Window Structures | Opens the file structure panel |
| Alt + 3 | ⌘Cmd + Ctrl + 3 | Search Box | Opens the search bar |
| Ctrl + Alt + ↓Down | ⌘Cmd + ⌥Option + ↓Down | Next Occurrence | Goes to the next word match |
| Ctrl + Alt + ↑Up | ⌘Cmd + ⌥Option + ↑Up | Previous occurrence | Goes to the previous match Words |
Search
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| ⇧Shift + ⇧Shift | ⇧Shift + ⇧Shift | Search Everywhere | Opens a search across all IDE elements |
| Ctrl + F | ⌘Cmd + Ctrl + F | Find... | Opens the search field in the current file |
| F3 | ⌘Cmd + Ctrl + G | Find Next | Go to the next match |
| ⇧Shift + F3 | ⌘Cmd + ⇧Shift + Ctrl + G | Find Previous | Go to the previous match |
| Ctrl + R | ⌘Cmd + Ctrl + R | Replace... | Opens the replace dialog in the current file |
| Ctrl + ⇧Shift + F | ⌘Cmd + ⇧Shift + Ctrl + F | Find in files... | Search for text throughout the entire project |
| Ctrl + ⇧Shift + R | ⌘Cmd + ⇧Shift + Ctrl + R | Replace in files... | Replace text throughout the entire project |
| Ctrl + F3 | [missing] | Next occurrence of word | Goes to Go to the next occurrence of the word under the cursor |
| Ctrl + ⇧Shift + N | ⌘Cmd + ⇧Shift + Ctrl + O | Go to file | Opens file search by name |
| Ctrl + F12 | ⌘Cmd + F12 | File Structure | Shows the structure of the current file |
| Ctrl + Alt + ⇧Shift + N | ⌘Cmd + ⌥Option + Ctrl + O | Pereyti to the symbol | Opens a search for symbols/elements by name |
| Ctrl + ⇧Shift + A | ⌘Cmd + ⇧Shift + Ctrl + A | Find action... | Opens a list of all available Actions |
Navigate by Symbols
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Alt + F7 | ⌥Option + F7 | Find Usages | Finds All uses of the element |
| Ctrl + B | ⌘Cmd + Ctrl + B | Go to declaration | Open the declaration or use of the element |
| Ctrl + ⇧Shift + B | ⌘Cmd + ⇧Shift + Ctrl + B | Go to type | Go to type declaration |
| Ctrl + Alt + F7 | ⌘Cmd + ⌥Option + F7 | Show usages | Shows all usages in the file (highlighting) |
| Ctrl + U | ⌘Cmd + Ctrl + U | Go to supermethod | Go to parent method/interface |
| Ctrl + Alt + B | ⌘Cmd + ⌥Option + Ctrl + B | Go to implementation | Finds all implementations of an interface/abstract method |
| Ctrl + ⇧Shift + T | ⌘Cmd + ⇧Shift + Ctrl + T | Go to test | Go to the associated test class |
| Ctrl + ⇧Shift + F7 | ⌘Cmd + ⇧Shift + F7 | Highlight Usages | Highlights all usages in the current file |
Code Analysis
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Alt + ⏎Enter | ⌥Option + ⏎Enter | Invoke tooltips | Shows quick actions and fixes |
| Ctrl + F1 | ⌘Cmd + F1 | Error Description | Shows a detailed description of the error under the cursor |
| F2 | F2 | Next Error | Goes to the next marked error |
| ⇧Shift + F2 | ⇧Shift + F2 | Previous Error | Goes to the previous marked error |
| Ctrl + Alt + ⇧Shift + I | ⌘Cmd + ⌥Option + ⇧Shift + Ctrl + I | Run Check... | Runs an inspection by name |
| Alt + 6 | ⌘Cmd + Ctrl + 6 | Issues Window | Opens the inspection results panel |
Running and Debugging
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Ctrl + Ctrl | Ctrl + Ctrl | Run Anything | Run commands and actions from anywhere |
| ⇧Shift + F10 | Ctrl + Ctrl + R | Run | Runs the current configuration |
| Alt + ⇧Shift + F10 | Ctrl + ⌥Option + Ctrl + R | Startup Selection | Opens the startup configuration selection menu |
| ⇧Shift + F9 | Ctrl + Ctrl + D | Debug | Starts debugging the current configuration |
| Alt + ⇧Shift + F9 | Ctrl + ⌥Option + Ctrl + D | Select Debug | Opens the debug configuration selection menu. |
| Ctrl + Alt + F5 | ⌥Option + ⇧Shift + F5 | Attach to Process | Attach to a running process for debugging |
| Ctrl + F2 | ⌘Cmd + F2 | Stop | Stops a running configuration |
| F9 | ⌘Cmd + ⌥Option + Ctrl + R | Resume | Continues program execution |
| Ctrl + ⇧Shift + F2 | ⌘Cmd + ⇧Shift + F2 | Stop background processes | Stops background tasks |
| F8 | F8 | Step over | Executes the current line without stepping into Method |
| Alt + ⇧Shift + F8 | ⌥Option + ⇧Shift + F8 | Force Step Through | Forces a line through a method |
| F7 | F7 | Step inside | Steps inside the called method |
| ⇧Shift + F7 | ⇧Shift + F7 | Smart Step Inward | Steps inward, showing options for multiple implementations |
| Alt + ⇧Shift + F7 | ⌥Option + ⇧Shift + F7 | Force Step Inward | Force Step Inward |
| ⇧Shift + F8 | ⇧Shift + F8 | Step Out | Runs until the current method exits |
| Alt + F9 | ⌥Option + F9 | Run to cursor | Runs code up to the cursor position |
| Ctrl + Alt + F9 | ⌘Cmd + ⌥Option + F9 | Force run to | Force executes to the cursor position |
| Alt + F10 | ⌥Option + F10 | Show execution point | Scrolls the screen to the point Breakpoints |
| Alt + F8 | ⌥Option + F8 | Evaluate expression | Allows you to evaluate an expression during debugging. |
| Ctrl + Alt + F8 | ⌘Cmd + ⌥Option + F8 | Quick Evaluation | Quick expression evaluation in the editor |
| Ctrl + F8 | ⌘Cmd + F8 | Add Breakpoint | Sets/removes a breakpoint at line |
| Ctrl + ⇧Shift + ⌥Option + F8 | ⌘Cmd + ⌥Option + ⇧Shift + F8 | Temporary Breakpoint | Creates a temporary breakpoint |
| Ctrl + ⇧Shift + F8 | ⌘Cmd + ⇧Shift + F8 | Breakpoints | Opens the breakpoint manager |
| Ctrl + ⇧Shift + F8 | ⌘Cmd + ⇧Shift + F8 | Edit breakpoint | Opens the breakpoint editing dialog |
| Alt + 4 | ⌘Cmd + Ctrl + 4 | Start Window | Opens the running configurations panel |
| Alt + 5 | ⌘Cmd + Ctrl + 5 | Debug Window | Opens the debug panel |
| Alt + 8 | ⌘Cmd +Ctrl + 8 | Services Window | Opens the Services panel |
Refactoring
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Ctrl + Alt + ⇧Shift + T | Ctrl + Ctrl + T | Refactoring... | Opens a menu of all available refactorings |
| ⇧Shift + F6 | ⇧Shift + F6 | Rename... | Renames an element in the entire project |
| Ctrl + F6 | ⌘Cmd + F6 | Change signature... | Changes the method signature (parameters, access) |
| Ctrl + Alt + N | ⌘Cmd + ⌥Option + Ctrl + N | Inline... | Inline a method/variable instead of calling it |
| F6 | F6 | Move... | Moves an element to another class/package |
| Ctrl + Alt + M | ⌘Cmd + ⌥Option + Ctrl + M | Extract Method... | Separates a code fragment into a separate method |
| Ctrl + Alt + F | ⌘Cmd + ⌥Option + Ctrl + F | Extract field... | Creates a new class field from an expression |
| Ctrl + Alt + P | ⌘Cmd + ⌥Option + Ctrl + P | Extract Parameter... | Creates a new method parameter from an expression |
| Ctrl + Alt + V | ⌘Cmd + ⌥Option + Ctrl + V | Extract variable... | Creates a new variable from an expression |
| Alt + Delete | ⌘Cmd + ⌥Option + ⌫Backspace | Safe delete... | Deletes an element after checking its users |
Global VCS Actions
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Alt + ` | Ctrl + Ctrl + V | VCS Operations | Opens the VCS command pop-up window |
| Ctrl + K | ⌘Cmd + Ctrl + K | Commit... | Opens the commit dialog |
| Ctrl + T | ⌘Cmd + Ctrl + T | Refresh project | Downloads the latest changes from the repository |
| Ctrl + Alt + Z | ⌘Cmd + ⌥Option + Ctrl + Z | Rollback | Rolls back modified files |
| Ctrl + ⇧Shift + K | ⌘Cmd + ⇧Shift + Ctrl + K | Push... | Pushes commits to a remote repository |
| Ctrl + Alt + ⇧Shift + ↓Down | Ctrl + ⌥Option + ⇧Shift + ↓Down | Next Change | Goes to the next changed file |
| Ctrl + Alt + ⇧Shift + ↑Up | Ctrl + ⌥Option + ⇧Shift + ↑Up | Previous change | Goes to the previously modified file |
| Alt + 9 | ⌘Cmd + Ctrl + 9 | VCS Window | Opens the Version Control Panel |
| Alt + 0 | ⌘Cmd + Ctrl + 0 | Commit Window | Opens the commit panel |
Diff Viewer
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| Ctrl + D | ⌘Cmd + Ctrl + D | Show diff | Opens file comparison |
| Ctrl + D | ⌘Cmd + Ctrl + D | Compare files | Compare two files in the diff editor |
| F7 | F7 | Next difference | Goes to the next difference in the diff |
| ⇧Shift + F7 | ⇧Shift + F7 | Previous difference | Goes to the previous difference in the diff |
| Ctrl + Alt + R | ⌘Cmd + Ctrl + Ctrl + →Right | Accept Left Side | Applies Changes from the Left Pane |
| Ctrl + Alt + A | ⌘Cmd + Ctrl + Ctrl + ←Left | Accept right side | Applies changes from the right panel |
| Ctrl + ⇧Shift + ⇥Tab | Ctrl + ⇧Shift + ⇥Tab | Toggle diff pane | Toggles focus between diff panes |
| Ctrl + ⇧Shift + D | ⌘Cmd + ⇧Shift + Ctrl + D | Diff Settings | Opens the diff settings pop-up window. |
Windows Tools
| Windows Keyboard Shortcuts | macOS Keyboard Shortcuts | Name | Description |
|---|---|---|---|
| ⇧Shift + Esc | ⇧Shift + Esc | Hide Active Window | Hides the active toolbar Tools |
| Ctrl + ⇧Shift + F12 | ⌘Cmd + ⇧Shift + F12 | Hide all windows | Hides all toolbars |
| F12 | F12 | Last Window | Goes to the last used window |
| Ctrl + Alt + ⇧Shift + ←Left | Ctrl + ⌥Option + ←Left | Stretch left | Stretches the panel to the left to fill the screen |
| Ctrl + Alt + ⇧Shift + →Right | Ctrl + ⌥Option + →Right | Stretch right | Stretches the panel to the right to fill the screen |
| Ctrl + Alt + ⇧Shift + ↑Up | Ctrl + ⌥Option + ↑Up | Stretch Up | Stretches the panel up to fill the screen |
| Ctrl + Alt + ⇧Shift + ↓Down | Ctrl + ⌥Option + ↓Down | Stretch Down | Stretches the panel down to fill the screen |
| Alt + 1 | ⌘Cmd + Ctrl + 1 | Project | Shows the project tree panel |
| Alt + 2 | ⌘Cmd + Ctrl + 2 | Bookmarks | Opens the bookmarks bar |
| Alt + 3 | ⌘Cmd + Ctrl + 3 | Search | Opens the search bar |
| Alt + 4 | ⌘Cmd + Ctrl + 4 | Start | Opens the running configurations panel |
| Alt + 5 | ⌘Cmd + Ctrl + 5 | Debug | Opens the debug panel |
| Alt + 6 | ⌘Cmd + Ctrl + 6 | Problems | Opens the inspection results panel |
| Alt + 7 | ⌘Cmd + Ctrl + 7 | Structure | Opens the file structure panel |
| Alt + 8 | ⌘Cmd + Ctrl + 8 | Services | Opens the Services panel |
| Alt + 9 | ⌘Cmd + Ctrl + 9 | VCS | Opens the version control panel |
| Alt + 0 | ⌘Cmd + Ctrl + 0 | Commit | Opens the commit panel |
| Alt + F12 | ⌥Option + F12 | Terminal | Opens the built-in terminal |