To search for IDEA's configuration, you can search in Preferences, such as searching
Live Templates
Live Templates
Customizable templates, Live Templates defines a large number of templates that can be used, such as Java commonYou can also click to add a custom template or comment.
Help ——>
Find Action
This function is very useful. If you don't remember where some functions or shortcuts are, try searching in Find Action.
shift+Mouse1(左键)
+ Current page navigation (maybe above or below). Selects all content under the specified navigation on the current page. What is the use of this function? When an html page (similar to other pages), when the DOM structure is relatively complex, it can be used to select all the content of the specified element, instead of trying to find the tag pairing relationship by yourself. The html below is sorted and indented, it will be more obvious if there is no indentation.Use to generate entity classes
Persistence
from database
Select the file in IDEA
Finder
and资源管理器
open it in or- Open the file in Finder (Mac), you can search with Find Action, or enter the keyword in Finder.
- The corresponding in Windows should
Find Action
be searched inshow in
orExplorer
(Explorer)
Regular search
When using an interface object, jump to the concrete implementation class.
Surround with
, surround with can also call the template directly
Finally, I will introduce a shortcut key plug-in
Key Promoter X
. I used IDEA at the beginning. Using this plug-in will help me remember the shortcut keys.