IntelliJ IDEA 2021.1 Help

Favorites tool window

The Favorites tool window lets you manage the following lists:

The lists of bookmarks and breakpoints are filled in automatically.

Toolbar buttons

ItemShortcutDescription
the Add buttonAlt+InsertCreate a new list of favorite items. In the Add New Favorites List dialog, specify the name for the new list and click OK.
EditCtrl+Enter

Depending on the selection, perform one of the following actions:

  • If a Favorites list the Favorite icon, or one of the nested favorites is selected, click this button to rename this list.

  • If a bookmark under the Bookmarks list the Bookmark icon is selected, click this button to change short description of the selected bookmark.

  • If a breakpoint under the Breakpoints list the Breakpoint icon is selected, click this button to configure the selected breakpoint.

the Remove buttonAlt+Delete

Delete the selected list or list item.

Depending on the selection, the button performs the following actions:

  • If the Favorites list the Favorite icon or one of the nested favorites is selected, deletes an entire list of favourites or the selected item. In this case, the item or the list is deleted from the Favorites tool window, but is left attached in project.

  • If a bookmark under the Bookmarks list the Bookmark icon is selected, deletes this bookmark from the list and from the source code.

    If a bookmark is deleted from the source code, it is also removed from the Favorites tool window.

  • If a breakpoint under the Breakpoints list the Breakpoint icon is selected, click this button to delete the selected breakpoint from the list and from the source code.
    Vice versa, if a breakpoint is deleted from the source code, it is also removed from the Favorites tool window.

Title bar buttons

ItemShortcutDescription
Show Options MenuOpen a menu with more options for managing the tool window such as displaying or hiding side toolbars, group tabs, selecting viewing mode, resizing, and so on.
Collapse allCtrl+NumPad -Collapse all expanded nodes in the current view.
Hide tool windowShift+Escape

Hide the tool window Shift+Escape.

To hide all the tool windows, press Ctrl+Shift+F12.

Title bar context menu and buttons

Right-click the title bar button to open this context menu.

ItemDescription
Flatten Packages

Show all the packages at the same level and display their qualified names. If this option is off, the packages are shown as a hierarchy.

Compact Middle Packages

Show all the packages at the same level and display their qualified names. If this option is off, the empty middle packages are shown as a hierarchy.

Show Members

Show fields, methods, and other class members.

Navigate with Single Click

Navigate automatically from a file or class member selected in the Favorites tool window to the corresponding source file or its fragment in the editor.

Always Select Opened Element

Navigate automatically from a file or class member selected in the editor, to the corresponding file in the Favorites tool window.

Show ToolbarDisplay the toolbar with editing buttons. To see the description of the toolbar, go to the Toolbar buttons section.
View ModeSelect the viewing mode for the tool window. For more information about viewing modes, see Tool window view modes.
Remove from SidebarClose the window and remove it from the sidebar. To reopen it, press Alt+2.
Move toMove the current window.
ResizeResize the window. You can stretch it in different directions or maximize it.
Remove from SidebarClose the window.
HelpOpen the documentation page for the tool window.
Last modified: 15 June 2021