Home  >  Article  >  A complete list of idea shortcut keys

A complete list of idea shortcut keys

DDD
DDDOriginal
2023-08-03 11:11:032578browse

Idea shortcut keys are: 1. Code editing related, Ctrl Space, Ctrl Alt Space, Ctrl P, Ctrl Shift Enter, Alt Enter, Ctrl Alt L; 2. Navigation related, Ctrl N, Ctrl Shift N, Ctrl B, Ctrl F12, Ctrl E, Alt Left/Right; 3. Debugging related, Shift F9, Shift F10, F8, F7, etc.

A complete list of idea shortcut keys

The following are some common IDEA shortcut keys:

Code editing related:

Ctrl Space: Code completion

Ctrl Alt Space: Intelligent code prompt

Ctrl P: Method parameter prompt

Ctrl Shift Enter: Automatically complete the end of the statement

Ctrl Shift Space: Smart type inference

Alt Enter: Show quick fix menu

Ctrl Alt L: Format code

Navigation related:

Ctrl N: Find the class

Ctrl Shift N: Find the file

Ctrl B: Jump to the definition

Ctrl F12: Display the current file structure

Ctrl E: Recently opened file list

Alt Left/Right: Navigation forward and backward

Debugging related:

Shift F9: Debug the current file

Shift F10: Run the current file

F8: Single step over

F7: Single step into

Shift F7: Intelligent stepping

Alt F9: Set breakpoints

Refactoring related:

Ctrl Shift Alt T: Extract methods, variables and other refactoring operations

Shift F6: Rename

Ctrl F6: Modify method signature

Ctrl Alt M: Extract method

Ctrl Alt V: Extract variable

Ctrl Alt C: Extract constants

Version control related:

Ctrl K: Submit code

Ctrl T: Update project

Ctrl Shift K: Push code

Ctrl Alt Z: Undo the last modification

These are just some of the common shortcut keys. IDEA has many other shortcut keys and functions that you can use according to your own needs. Learn and use.

The above is the detailed content of A complete list of idea shortcut keys. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn