User Guide > Tasks > Developing with JavaScript > Opening JavaScript Types

Opening JavaScript Types

The JavaScript Open Type functionality allows you to search for any JavaScript type in your workspace and opens an editor with the type's declaration.

 

 

Instructions on how to complete a procedure

To open a JavaScript Type:

  1. Open the JavaScript Perspective by going to Window | Open Perspective | Other | Javascript.

  2. Click the Open JavaScript Type JavaScript Open Type icon on the toolbar - or - from the menu bar go to Navigate | Open JavaScript type...
    The Open JavaScript Type dialog will open.

  3. Enter the first few letters of the class which you would like to open. (You can also use wildcards such as  * or ?, or camel case.)
    The list of available types will be filtered to match the expression you are entering.

Note:

If you have previously opened a Type which matches your expression, this will be displayed first above a separator line.

Open JavaScript Type dialog

  1. Select the required class and click OK.

An editor will open with the required class's declaration.

 

 

Related Links:

JavaScript Support

Developing with JavaScript
Enabling JavaScript Support in PHP Projects

Setting the JavaScript Build Path

Setting Up Dojo Integration

Viewing JavaScript Elements in the Outline View

Using JavaScript Content Assist

Using JavaScript Mark Occurrences

 

 

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