Enabling JavaScript support in PHP projects allows JavaScript libraries
and external files to be referenced by the project
Note:
Once JavaScript support has been enabled for a project, you should set the project's JavaScript Build Path in order for the required resources to be made available to the project.
These procedures describe how to enable JavaScript support for new PHP projects, add support to existing projects, or disable JavaScript support.
|
|
|
To enable JavaScript support in new PHP Projects:
New PHP Project Wizard
|
A new PHP Project will be created with full JavaScript support. Note: You must now set the project's JavaScript Build Path in order for the required JavaScript libraries and files to be accessed by the project. |
JavaScript libraries and features can be added to existing PHP projects in your workspace.
|
|
|
To enable JavaScript Support for existing PHP Projects: In PHP Explorer view, right-click the project for which you want to enable JavaScript support and select Configure | Add Java Script Support. |
JavaScript support will be enabled for the project. Note: You must now set the project's JavaScript Build Path in order for the required JavaScript libraries and files to be accessed by the project. |
If you are not using JavaScript libraries or files in your project, you can remove JavaScript support for that project.
|
|
|
To remove JavaScript Support for existing PHP Projects: In PHP Explorer view, right-click the project for which you want to enable JavaScript support and select Configure | Remove JavaScript Support. |
JavaScript support will be removed from the project and no JavaScript libraries or external files will be available to the project. |
|
|
|
Related Links: Developing with JavaScript Viewing JavaScript Elements in the Outline View Using JavaScript Content Assist |
|
|
©1999-2013 Zend Technologies LTD. All rights reserved.