| General |
|
| Synchronize |
Command + Option + Y |
| Maximize/Minimize Editor |
Control + Command + F12 |
| Add to Favorites |
Option + Shift + F |
| Detecting (Inspect) Current files and configuration files |
Option + Shift + I |
| Quick Switch Scheme |
Control + ' (backquote) |
| Open the Settings dialog box |
Command +, (comma) |
| Open Project Structure configuration (project structure) |
Command +; (semicolon) |
| Switch between label and tool window |
Control + Tab |
| Navigating and searching |
|
| Search any file (including code and menus) |
Press two times Shift |
| Find |
Command + F |
| Find the next |
Command + G |
| Find Previous |
Command + Shift + G |
| Replace |
Command + R |
| Search for action or option |
Command + Shift + A |
| Find files by symbol name |
Command + Option + O |
| Find class |
Command + O |
| Find Files |
Command + Shift + O |
| Global Search (Find in Path) |
Command + Shift + F |
| Open the structure of the current file bullet box (methods, properties, etc.) |
Command + F12 |
| Toggle Tab |
Control + Left/right arrow |
| Jump to source code |
F4/command + DOWN ARROW |
| Opens the Currently selected Tab tab in a new window |
Shift + F4 |
| Recently opened list of files bullet box |
Command + Shift + E |
| Returns the location of the previous edit |
Command + Shift + Backspace |
| Close the Current active tab tab |
Command + W |
| Returning from the tool window to the editing window |
Esc |
| Hides the current or previous active tool window |
Shift + ESC |
| Jump to this line |
Command + L |
| Open a type hierarchy (that is, an inheritance implementation relationship) |
Control + H |
| Opens the hierarchy of the currently selected method |
Command + Shift + H |
| Opens the call hierarchy, that is, who called the currently selected object |
Control + Option + H |
| Write code |
|
| Code Auto-generation (getters, setters, constructors, Hashcode/equals, toString, new file, new class, etc.) |
Command + N |
| overriding method |
Control + O |
| Implementation method |
Control + I |
| Surround with (if...else/try...catch/etc.) |
Command + Option + T |
| Delete this line where the cursor is located |
Command + Backspace |
| Collapse/Expand Current code block |
Command + minus/Plus |
| Collapse/Expand all blocks of code |
Command + Shift + minus/Plus |
| Copy the current line or selected code |
Command + D |
| Code completion (Basic code completion) |
Control + Space (conflicts with switching input methods, it is recommended to turn on the code auto-completion) |
| Smart Code Completion |
Control + Shift + Space |
| Complete the current statement (such as auto-semicolon, auto-curly brace) |
Command + Shift + Enter |
| Quickly view documents |
Control + J |
| Show parameters for the selected method |
Command + P |
| Jump directly to the declaration |
Command + B or COMMAND + Click |
| Jump to the implemented code |
Command + Alt + B |
| Jump to Parent class method/Super Class |
Command + U |
| Quick View definition instead of jump to declaration |
Command + Y |
| Toggle the visibility of the Project tool window |
Command + 1 |
| Add/Remove Bookmarks |
F3 |
| Mark different symbols to add a bookmark to remove |
Option + F3 |
| Line Comment |
Command +/ |
| Block annotations |
Command + Shift +/ |
| Select the code block where the cursor is located, and continuously press to increment the selection |
Option +↑ |
| Returns the state before the selection code block |
Option +↓ |
| Move the cursor to the beginning of the code block |
Option + Command + [ |
| Move the cursor to the end of the code block |
Option + Command +] |
| From the current cursor selection to the start of the Code Express (increment selection) |
Option + Command + Shift + [ |
| From the current cursor selection to the end of the Code Express (increment selection) |
Option + Command + Shift +] |
| Delete the current cursor to the end of the word character |
Option + Delete |
| Delete the current cursor to the beginning of the word character |
Option + Backspace |
| Optimize Imports |
Control + Option + O |
| Quick fix |
Option + Enter |
| Formatting code |
Command + Option + L |
| Automatically indent as you go forward |
Control + Option + I |
| Indent Backward/forward |
Tab/shift + Tab |
| Add the next line behind our code |
Control + Shift + J |
| Wraps all the contents of the line behind the bank's cursor to the next line |
Command + Enter |
| Insert a blank line on the next line |
Shift + Enter |
| Jump to Next/previous highlight error |
F2/shift + F2 |
| Build and Run |
|
| Build |
Command + F9 |
| Build and run |
Control + R |
| Debugging |
|
| Debug |
Control + D |
| Step over |
F8 |
| Step into |
F7 |
| Smart Step Into |
Shift + F7 |
| Step out |
Shift + F8 |
| Run to Cursor |
Option + F9 |
| Display the result of an expression |
Option + F8 |
| Resume Program |
Command + Option + R |
| Add/Remove Breakpoints |
Command + F8 |
| viewing breakpoints |
Command + Shift + F8 |
| Refactoring |
|
| Copy the current file to |
F5 |
| Move the current file to |
F6 |
| Safe Delete |
Command + Delete |
| Renaming |
Shift + F6 |
| Change signature |
Command + F6 |
| Code inline (inline, such as turning global properties into local properties) |
Command + Option + N |
| Extracting code blocks as methods |
Command + Option + M |
| Extract the selected code as a variable |
Command + Option + V |
| Extract the selected code in the method as a property (local to global, opposite to inline) |
Command + Option + F |
| Extracting constants |
Command + Option + C |
| Parameters extracted as methods |
Command + Option + P |
| Version Control/Local History |
|
| Commit Project to VCS |
Command + K |
| Update Project from VCS |
Command + T |
| To view Recent changes |
Option + Shift + C |
| Open VCS Popup |
Control + V |