IntelliJ IDEA 2021.2 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

Item

Shortcut

Description

the Add button

Alt+Insert

Create a new list of favorite items. In the Add New Favorites List dialog, specify the name for the new list and click OK.

Edit

Ctrl+Enter

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

the Remove button

Alt+Delete

Delete the selected list or list item:

  • Favorites: delete 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.

  • Bookmarks: delete 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.

  • Breakpoints: 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

Item

Shortcut

Description

Show Options Menu

Open 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 all

Ctrl+NumPad -

Collapse all expanded nodes in the current view.

Hide tool window

Shift+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.

Item

Description

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 Toolbar

Display the toolbar with editing buttons. To see the description of the toolbar, go to the Toolbar buttons section.

View Mode

Select the viewing mode for the tool window. For more information about viewing modes, see Tool window view modes.

Remove from Sidebar

Close the window and remove it from the sidebar. To reopen it, press Alt+2.

Move to

Move the current window.

Resize

Resize the window. You can stretch it in different directions or maximize it.

Remove from Sidebar

Close the window.

Help

Open the documentation page for the tool window.

Last modified: 02 August 2022