User Guide > Tasks > JavaScript Libraries

JavaScript Libraries

Enabling JavaScript Libraries in your project allows libraries to be referenced by the project and makes the elements within these resources available for operations such as Content Assist and Refactoring.

JavaScript Libraries Properties

Zend Studio allows you to define a list of libraries which have to be loaded before analyzing JavaScript code in your project. This is the equivalent to HTML users writing directly in the script what JavaScript should be loaded by the browser.

Each library can be different; It can be a plain list of JavaScript files, a zip file with JavaScript files, a database of JavaScript function signatures, or a running JavaScript engine. Therefore, each library has an ID associated with it. For example: "com.zend.jsdt.support.jquery" or  "org.eclipse.jsdt.system". The ID's uniquely identify the kind of JavaScript library being referred to so that Zend Studio can internally locate the right mechanism to load the library's contents.

JavaScript libraries can only be added to PHP projects with JavaScript support enabled.

 

 

JavaScript Libraries allows you to do the following:

 

The supported JavaScript libraries are:

 

 

Related Links:

Working with Prototype JavaScript Library

Working with jQuery JavaScript Library

Working with ExtJS Library

Debugging JavaScript

Adding a JavaScript Library

Adding a JavaScript User Library

Adding a Library Folder to JavaScript Libraries

Exporting JavaScript User Libraries

Importing JavaScript User Libraries

Editing JavaScript Libraries

Removing JavaScript Libraries

Managing PHP Libraries

 

 

©1999-2013 Zend Technologies LTD. All rights reserved.