Original Address: IDEA tips of bookmarks and favorites
Recently read the Spring source code, source of a long call link, etc. After seeing more than a dozen class method, want to see a previous call to the method is very inconvenient, you need to find historical view records. Other times I watched forget the middle of a method, then, again, start again: collision:.
Here IDEA two functions, can effectively solve these troubles.
Bookmark
IDEA was first introduced bookmarks, you can quickly jump to the source through a bookmark.
IDEA bookmark divided into two,
- Anonymous bookmark, you can generate numerous, use shortcut keys
F11
to quickly generate. - Bookmarked, numbers or letters can be bookmarked, you can only generate a total of 10 numbers and letters 26 bookmarked, using a shortcut key
Ctrl+F11
generation.
Two date markings differences are as follows.
Use the shortcut keys Shift + F11
, you can open the bookmark manager window, where you can delete the tag, sort tags, and labels to add a simple explanation.
Also the use of digital signature tags can be used Ctrl + 数字键
to jump to the label, quickly view source code.
Favorites
The second is the introduction of Favorites feature in IDEA, this function is located in Favorites .
This function can be files, folders, or even an external file added to the IDEA Favorites .
The above said labels and breakpoints are automatically added to the Favorites in.
Use Alt + 2
to quickly open the Favorites list.
Other tips
IDEA daily tips
do not know how to use IDEA function? Teach you three strategies to master most of the functions