Author: Leon Barnard
This document is a specification of the NetBeans IDE Project customizer for PHP Projects. This document applies to the Preview Release only.
Table of contents:
The user has already created a PHP project and would like to make changes to the location or encoding of the source files.
- The user right-clicks on the PHP project node and selects "Project Properties" to bring up the Project customizer. The "Sources" node is selected by default.
- The Project Folder is shown as a read-only field for reference. The current sources folder location is shown below the Project Folder field. The user can customize the location by clicking the "Browse..." button or by selecting from a list of known web server document root folders.
- If the user wishes to copy files from the sources folder to another location, they may use a checkbox below the Sources Folder field to do so.
- The current project URL will be listed next and will be editable.
- The user can also change the encoding of files in the project by choosing appropriate styles from a drop-down list box.
The user has already created a PHP project and would like to add one or more PHP Include paths to the project. Include paths allow the user to reference variables from other files and are very commonly used in PHP projects.
- The user right-clicks on the PHP project node and selects "Project Properties", then clicks the "PHP Include Path" node from the Project customizer.
- The user is presented with several buttons allowing them to add include paths from various places:
- Add Folder
- Add from php.ini
- The user can also remove include paths by clicking the "Remove" button.
- Since the order that include paths are specified in matters, users will also be able to reorder the list with "Move Up" and "Move Down" buttons.
Include Paths node
The user has already created a PHP project and would like to change the command line interpreter, either for the selected project or for all projects.
- The user right-clicks on the PHP project node and selects "Project Properties", then clicks the "Command Line" node from the Project customizer.
- If no changes to the command line interpreter have been made, a radio button labeled "Use Default" will be checked and the default location of the command line interpreter will be shown. Clicking "Configure..." will open the PHP global options dialog, where the user can change the default PHP command line interpreter. This change will affect any other PHP projects that the user has created.
- If the user wishes to use a different command line interpreter for the selected project, while leaving the defaul interpreter unchanged, they can select "Set for this Project". They can either locate the file directly by using the "Browse..." button or have the IDE search for installed interpreters by using the "Search..." button.
Command Line node