- Ctrl+Shift+Backspace (Navigate | Last Edit Location) brings you back to the last place where you made changes in the code.
- Use Ctrl+Shift+F7 (Edit | Find | Highlight Usages in File) to quickly highlight usages of some variable in the current file.
Use F3 and Shift+F3 keys to navigate through highlighted usages.
Press Esc to remove highlighting. - Press Alt+Q (View | Context Info) to see the declaration of the current method without the need to scroll to it.
- Use F2/Shift+F2 keys to jump between highlighted syntax errors.
- Use Ctrl+Alt+向上箭头/Ctrl+Alt+向下箭头 shortcuts to jump between compiler error messages or search operation results.
- Use Ctrl+J to complete any valid Live Template abbreviation if you don’t remember it. For example, type it and press Ctrl+J to see what happens.
- When using basic code completion (Ctrl+空格), type any characters that exist anywhere in an identifier.
- Use Alt+向上箭头 and Alt+向下箭头 keys to quickly move between methods in the editor
- Ctrl+Shift+J shortcut joins two lines into one and removes unnecessary space to match your code style.
- To see the inheritance hierarchy for a selected class, press Ctrl+H (Navigate | Type Hierarchy).
- To easily evaluate the value of any expression while debugging the program, select its text in the editor (you may press a Ctrl+W a few times to efficiently perform this operation) and press Alt+F8.
- …
IDEA常用快捷键
最新推荐文章于 2024-05-13 11:20:36 发布