Opening, reopening, and closing projects
Open a project
Click Open on the Welcome screen or select from the main menu.
In the Select Path dialog, select the directory that contains the project to open.
Specify whether you want to open the project in a new window, or close the current project and reuse the existing window.See Opening multiple projects for details.
Open a project from the command line
In the command prompt, type:webstorm <path_to_the_project_folder>
Reopening recent projects
When WebStorm starts, the most recent project reopens by default (unless this option is disabled on the System Settings page of the Settings/Preferences dialog Ctrl+Alt+S.
Callfrom the main menu and select the desired project from the list.
Specify whether you want to open the project in a new window or reuse the current window.
On the Welcome screen, click Projects n the left-hand pane and then select the project of interest in the right-hand pane where the list of your recent projects is shown. Start typing in the Search projects field to filter the list of recent projects.
Reopen a project with Run Anything
Press Ctrl twice or click on the Navigation bar and type
openin the search field of the Run Anything popup that opens. Then select the required project from the list, and press Enter.
To see all available commands, type
Remove a project from the list of recent projects
Click Manage Projects at the very bottom of the recent project list.on the menu, then click
Click the closing icon for the project to remove. The selected project will be removed from the list of the recent project in the Project window and on the Welcome screen.
To remove a project only from the list on the Welcome Screen, right-click the target project and select Remove Selected from Welcome Screen.
When you have only one open project and you close it, WebStorm displays the Welcome screen. In case of multiple projects, each one is closed with its window.
From the main menu, select.
Opening multiple projects
WebStorm suggests the following options to work with several projects simultaneously:
Each project is opened in its own window. The projects are independent and cannot share information, except for the Clipboard operations. All the projects run in the same instance of WebStorm and use the same memory space.
A newly opened project shares the window with the already opened project, which is considered the main project and is always shown first in the Project tool window. All the newly opened projects are attached to this main project.
Select Select Path dialog, select the directory that contains the project to open.from the main menu and then in the
By default, WebStorm displays a dialog prompting you to select whether you want to open the project in a new window (New Window ), reuse the existing window (This Window ), or add the new project to the currently opened one (Attach ).
You can change or restore this behavior on the System Settings page of the Settings dialog as described in Change the project opening policy below.
Change the project opening policy
In the Settings/Preferences dialog Ctrl+Alt+S, go to .
In the Project opening area, specify the default location for your projects in the Default directory field. WebStorm will start with this folder when you open projects. This default location will be also suggested every time you create a new project.
Select the project opening policy:
Confirm window to open project in: This option is selected by default. WebStorm displays a dialog where you can choose to open the project in a new window, reuse the existing window, or add the new project to the currently opened one.
Open project in new window: Select this option to silently open each new project in a new window.
With this option selected, useto add a new project to the currently opened one in the same window.
Open project in the same window: Select this option to silently close the project opened in the current window and open a new project in it.
With this option selected, useto add a new project in the same window without closing the currently opened project.
Detach projects from a shared window
In the Project tool window, select the project to detach and click Remove from Project View on its context menu.
Some known limitations
Symbols from the attached projects are visible from the main one, but not vice versa.
WebStorm will keep using the project settings (for example code style or inspections profile) of the main project.
The run configuration from the attached project will be ignored and new configurations will be saved in the .idea folder of the main project.
If you use TypeScript, the same version will be used in all the attached projects.
You can’t close the main project while keeping the attached project opened.