The Includes Mapping Properties page allows you to set workspace locations for paths which are included within your project.
To access the Includes Mapping Properties page, right-click a PHP project in PHP Explorer view and select Properties | Resource -or- select the project and from the menu bar go to Project | Properties | Includes Mapping Properties.

The Include Mapping process allows you to specify a location within
your project for files which are included from your server/external file
system.
This will affect the code assist and refactoring
/ organize includes operations available within the project.
|
|
|
|
|
Example: In your code you include an 'a.php' file from C:/Documents and Settings/abc:
During the development process, you want the refactoring/organize includes and code assist options available to you in the code to be taken from a file called a.php which is situated in 'folder1' of your 'abc' project. In order to achieve this, you should map the include path 'C:/Documents and Settings/abc/' to '/abc/folder1'. |
|
Content for refactoring/organize includes and code assist operations will now be taken from the a.php file situated in folder1 of your 'abc' project. |
|
|
|
|
|
|
To create a new Include Map:
|
|
Whenever a file is included from the selected path, the refactoring/organize includes and code assist options available to it will be taken from the file in the location to which it has been mapped in your project. |
|