File Network Preferences

The File Network Preferences page allows you to enable/disable the File Network option.

The File Network stores a node for each file. Each node has 2 arrays: the first array stores references to all files that are included by the file (using include/require statements), and the second array stores references to all files in which the file is included. These arrays are used for Refactoring and Organize Include operations. Disabling this option reduces the amount of memory used by PDT.

 

The File Network Preferences page is accessed from Window | Preferences | PHP | File Network.

 

 

Instructions on how to complete a procedure

To enable/disable the File Network for all projects:

  1. Mark/unmark the Enable File Network checkbox.

  2. Click Apply.

  3. A prompt will appear stating that projects will be rebuilt.
    Click Yes to rebuild all projects.
    -Or- Click No for a rebuild to be performed only when PDT is restarted.
    -Or- Click Cancel to cancel the operation.

 

Note:

If you disable the File Network, you will not be able to perform Refactor/Organize Includes operations. To re-enable these options, re-enable the File Network.

 

 

Instructions on how to complete a procedure

To enable/disable the File Network for a specific project only:

  1. Select the link labelled "Configure Project Specific Settings".

  2. Select the required project from the list.
    A File Network Properties dialog will appear.

  3. Mark/unmark the Enable file network checkbox.
    A prompt dialog will appear stating that a rebuild of the project must occur for the settings to take effect.

  4. Click Yes to rebuild the project.
    -Or- Click No for a rebuild to be performed only when PDT is restarted.
    -Or- Click Cancel to cancel the operation.

 

 

 

Related Links

Related Links:

PHP Preferences

Refactoring

Organizing Includes