Managing Your Project Favorites
On this page:
- Basics
- Using the Project tool window to add items to favorites
- Using the editor to add items to favorites
- Creating a new favorites list
- Renaming a favorites list
- Moving an item to a different list
- Removing items from favorites
Basics
You can arrange the most frequently used project items (files, folders, packages, instance and class members, etc.), bookmarks, and breakpoints in the lists of favorite items (favorites). In IntelliJ IDEA, there is a dedicated tool window for managing your favorites (the Favorites tool window).
Initially, there is one (empty) favorites list which has the same name as the project.
You can create more favorites lists and manage their contents as necessary.
Using the Project tool window to add items to favorites
- In the Project, select the item or items you want to add to favorites.
- Do one of the following:
-
To add the selected item or items to an existing favorites list, select the name of the list.
To create a new favorites list and add the selected item or items to it, select . In the Add New Favorites List dialog, specify the name of the new list and click OK.
Using the editor to add items to favorites
In the editor, you can add to favorites one file, or all the currently opened files.
- Right-click the editor tab of interest and select one of the following options:
- To add the item or items to an existing favorites list, select the name of the list.
To create a new favorites list and add the item or items to it, select . In the Add New Favorites List dialog, specify the name of the new list and click OK.
Creating a new favorites list
You have an option of creating a new favorites list when adding items to favorites or when moving a favorites list item to a different list.
You can also create a new (empty) favorites list just on its own, as a separate task:
- If the Favorites tool window is not currently shown, open it.
- Do one of the following:
- In the Add New Favorites List dialog, specify the name of the new list and click OK.
Renaming a favorites list
- If the Favorites tool window is not currently shown, open it.
- Do one of the following:
- In the New Name for Favorites List dialog box, change the name of the list as required, and click OK.
Moving an item to a different list
- If the Favorites tool window is not currently shown, open it.
- Right-click the list item that you are going to move and select Send To Favorites.
- To move the selected item to an existing favorites list, select the name of the destination list.
To create a new favorites list and move the item there, select Send To New Favorites List. In the Add New Favorites List dialog, specify the name of the new list and click OK.
Removing items from favorites
To remove items from favorites, you can delete the corresponding favorites list items and/or the whole favorites lists.
- If the Favorites tool window is not currently shown, open it.
- Select the item or items that you want to remove from favorites. Note that you can select separate list items and the whole lists at the same time.
- Do one of the following: