查找 Ctrl + F 替换 Ctrl + R
注释 Ctrl + / 去掉注释 Ctrl + /
Function
| Shortcut | Use this shortcut to... | |
|---|---|---|
| Close Active Tab | Ctrl+Shift+F4 | Close an active tab in a tool window (for example, Find tool window). |
| Close Editor | Ctrl+F4 | Close an active editor. |
| Edit Source | F4 | Open an editor for the selected item or items and give focus to the last opened file. |
| Escape | Escape | Depending on the context: |
| Export to Text File | Alt+O | Export contents of a tool window to a text file. This feature applies to the Version Control Tool Window, Messages Tool Window, and other tool windows that provide the export button |
| New... | Alt+Insert | Create a new class, file or directory. See Populating Modules. |
| Save All | Ctrl+S | Save all files and settings. |
| Select Next Tab | Alt+Right | When several tabs are open in the editor or a view, open the next tab to the right (or first tab if the current one is the last). |
| Select Previous Tab | Alt+Left | When several tabs are open in the editor or a view, open the next tab to the left (or last tab if the current one is the first). |
| Show Intention Action | Alt+Enter | Display intention actions (if any) for the code where the caret is currently located, or the selected GUI component in a form. |
| Synchronize | Ctrl+Alt+Y | Detect all externally changed files and reload them from disk. |
| View Source | Ctrl+Enter | Depending on the context: |