Create JavaScript profile

  1. Select the menu item Window > Preferences... to open the workbench preferences.
  2. Select the Spket > JavaScript Profile preference page to display the installed JavaScript Profiles.
  3. Click the New.. button. In the Name field, type Prototype as the name for the new profile. Then click OK.
  4. Click the Add Library button. From the Library drop-down list, select Prototype. Then click OK.
  5. Click the Add File button, choose the file which download from Prototype web site
  6. Add Scriptaculous javascript files by sequence show in screenshot.
  7. Select the Prototype profile created in step 3, click the Default button make it the default profile for all project. The default profile can also be configured per project by using Configure Project Specific Settings... link.
  8. Click on OK to save the preferences.

profile

Start coding

  1. From the menu bar, select File > New > File
  2. In the File name field, type test.js as the name for the new file. Then click Finish.