WebStorm 2018.3 Help

Managing Your Project Favorites

You can arrange the most frequently used files, folders, bookmarks, and breakpoints in the lists of favorite items (favorites). WebStorm has a dedicated Favorites Tool Window for managing your favorites.

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

  1. In the Project, select the item or items you want to add to favorites.

  2. Do one of the following:
    • Press Shift+Alt+F.

    • Choose File | Add To Favorites from the main menu.

    • From the context menu of the selection, choose to Add To Favorites.

  3. 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 Add To New Favorites List. In the Add New Favorites List dialog, specify the name of the new list and click OK.

    wi_add-to-favorites

In the editor, you can add to favorites one file (Shift+Alt+F), or all the currently opened files.

Using the editor to add files to favorites

  1. Right-click the editor tab of interest and select one of the following options:
    • If you want to add the current file to favorites, select Add To Favorites. (For the current file, File | Add To Favorites is also available as an alternative.)

    • If you want to add all the files open in the editor to favorites, select Add All To Favorites.

  2. 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 Add To New Favorites List. In the Add New Favorites List dialog, specify the name of the new list and click OK.

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.

Creating a new favorites list

  1. Open the Favorites Tool Window (Alt+2).

  2. Do one of the following:
    • Click icons general add svg on the toolbar.

    • Press Alt+Insert.

  3. In the Add New Favorites List dialog, specify the name of the new list and click OK.

Renaming a favorites list

  1. Open the Favorites Tool Window (Alt+2).

  2. Do one of the following:
    • Right-click the list whose name you want to change and select Rename Favorites List.

    • In the toolbar of the Favorites tool window, click icons actions edit svg.

  3. In the New Name for Favorites List dialog, change the name of the list as required, and click OK.

Moving an item to a different list

  1. Open the Favorites Tool Window (Alt+2).

  2. Right-click the list item that you are going to move and select Send To Favorites.

  3. 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.

To remove items from favorites, you can delete the corresponding favorites list items and/or the whole favorites lists.

Removing items from favorites

  1. Open the Favorites Tool Window (Alt+2).

  2. 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.

  3. Do one of the following:
    • Click icons general remove svg on the toolbar.

    • Select Remove From Favorites in the context menu. (If a single favorites list is currently selected, note that there are also the following options: Delete Favorites List <list_name> and Delete All Favorites Lists Except <list_name>.)

    • Press Delete.

Last modified: 9 January 2019

See Also