WebStorm 9.0.2 Web Help

Create New Project: Choose Project Directory

File | New Project From Existing Files - Web server is installed locally, source files are located under its document root
File | New Project From Existing Files - Source files are in a local directory, no Web server is yet configured


On this page of the wizard, specify the location of the files, appoint the project root, and configure the structure of the project to be created. The project root is the folder which is the parent for all the project sources. By default, all subfolders in this folder are treated as sources and their files are involved in indexing, searching, parsing, code completion, etc. Use the icons on the toolbar ro change this status.

If your sources are located in several independent parent folders, create a project in one of these folders and configure other sources as additional content roots on the Directories page of the Settings dialog box.

For more details about configuring project contents, see Content Root and Configuring Folders within a Content Root.

Item Description
icon_web_storm.png Project root Select the folder which is the parent for all the project sources and click this icon or choose Project Root on the context menu of the selection. WebStorm marks the selected folder with the icon_web_storm.png icon and adds the .idea directory with settings to it.
rootTest Test Sources Click this icon to have WebStorm treat the contents of tje selected folder as related to unit testing. Alternatively, choose Resource Root on the context menu of the selection.
resource_root.png Resource Root Click this icon to enable WebStorm to complete relative paths to resources under the selected folder. This means that the contents of the selected folder can be referenced relative to it instead of specifying full paths.

Alternatively, choose Resource Root on the context menu of the selection.

rootExcluded.gif Excluded Click this button to have WebStorm ignore the selected directory during indexing, parsing, code completion, etc. Alternatively, choose Excluded on the context menu of the selection.

See Also

Last modified: 11 December 2014
comments powered by Disqus