Configuring a Project's PHP Include Path
Adding external resources
to a project's include path makes resources outside the project available
for operations such as debugging,
refactoring and code assist. See PHP
Include Paths for more information.
This procedure describes how to configure your project's Include Path.
To configure your project's Include Path:
PHP Explorer view, right-click the required project and select Configure
Include Path Libraries
-Or- right-click the project and select Properties | Include Path.
The project's PHP Include Path properties page will appear.
From this page you can configure the following:
To add aproject from your workspace to your Include Path:
the Projects tab.
The Required Project Selection dialog appears.
Select the projects
you would like to add and click OK.
The selected project(s) will be added to your project's Include Path.
Variables to your Include Path:
Select the Libraries tab.
Click Add Variable.
The New Variable Entry dialog appears.
Select the required Path Variable.
Variable points to a folder. To choose an archive inside the folder, click
To add a Variable to the Path Variables list, click Configure Variables
to be taken to the Path
Variables Preferences page.
The Variable will be added to your project's Include Path.
variable is a read-only file and will not be available for editing.
To add external folders to your Include
Select the Libraries
Click Add External
The Add Include Path dialog appears.
Browse to and
select the required folder.
The folder will be added to your project's Include Path.
The library is a read-only
file and will not be available for editing.
To configure the order of elements on your
the Order tab. This determines the order in which resources will be searched
for in require/include calls.
See Include Paths for more information
on the order for which files are searched for.
If applicable, it is recommended that elements appear in the same order
as they do in your php.ini.
necessary, rearrange the order of the entries. To do so, select an element
and click Up or Down to move it in the list.
Once all the elements are
added and are in the right order, click OK.
All the selected elements will be added to the project's include path.