PhpStorm 2016.2 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.

ItemDescription
icon_php_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. PhpStorm marks the selected folder with the icon_php_storm icon and adds the .idea directory with settings to it.
rootTest Test Sources Click this icon to have PhpStorm treat the contents of tje selected folder as related to unit testing. Alternatively, choose Resource Root on the context menu of the selection.
rootResource.png Resource Root Click this icon to enable PhpStorm 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 PhpStorm ignore the selected directory during indexing, parsing, code completion, etc. Alternatively, choose Excluded on the context menu of the selection.

See Also

Last modified: 24 November 2016