Small knowledge, big challenge! This paper is participating in theEssentials for programmers”Creative activities
As a JAVA programmer, IDEA is my favorite IDE. There are a lot of articles about shortcut keys on the Internet, most of which are listing and ranking shortcut keys, which are very unfriendly, so I have the IDEA of writing an article.
1. A shortcut key
If memory only A shortcut key, then is [Ctrl + Shift + A) | command + Shift + A: Find the Action. Why is that? Because you can use it to find shortcut keys, no longer worry about forgetting the shortcut keys.
2. View the built-in shortcut keys
Many people go to the network to collect shortcut list, actually IDEA is built in, where is it? Don’t remember? Take [Ctrl + Shift + A] and type KR (Keymap Reference). If it works, you’ll see it looks like this:IDEA classifies shortcut keys and makes them easy to view.
3. Highly recommended keyboard shortcuts
In fact, the article can end here, I think enough, but, or recommend a few SHORTCUTS I commonly used bar, refer to the classification of IDEA, this list will be timely updated.
- Editing
[Ctrl + W] select the code and press the gradual selection successively
-
Usage Search
-
Navigation
【Ctrl + B】 Quickly open the cursor position class, Method [Ctrl + Alt + B] quickly open method implementation
-
Search/Replace
-
Live Templates
[Ctrl + J] automatic code
- Refactoring
[Ctrl + Alt + L] Format code [Ctrl + Alt + O] optimize the imported classes and packages
- Debugging
【 Control + D】debug
-
Compile and Run
-
VCS/Local History
-
General
Corresponding tool window [7] [CMD + ‘
4. To summarize
That’s all for IDEA shortcuts. What do you recommend? Welcome to share with us.