This page gives an overview of displaying and working with the Samples View in Aptana.
Contents |
Introduction
The Samples View provides a group of working sample projects based on popular Ajax libraries and frameworks. You can import these samples into your Project View and automatically generate Code Assist profiles for these libraries.
Instructions
Displaying the Samples View
To display the Samples View:
- From the Window menu in Aptana, select Show View > Other... to open a Show View pop-up window.
- On the Show View pop-up window, expand the Aptana Views folder.
- Select Samples and click OK.
Aptana displays the Samples View (shown below). The default location for this view on your workbench is in the lower right corner, in the same area as the default location for the Snippets and Scripts Views.
Importing a sample as a project
To import a sample into your workspace as a project:
- In the Samples View, select the folder of the sample that you want to import.
- Click the Import Sample as Project button
to open a Samples Project wizard.
- On the Samples Project wizard, click the Finish button.
Aptana imports the sample as a project into your workspace.
Previewing a sample
To view a preview of a sample in the Preview pane, select the sample and click the View preview of sample button .
A preview of the sample opens in the Preview Pane.
Accessing help for a sample
Some samples have an online cheat sheet reference or other help. To view help for a sample, select the library or sample, and click the View Help button .
Help for the sample opens in the Preview pane.
Adding a new sample
You can add your own samples to the Samples View. To add your own samples, see the guidelines on the development wiki:
http://www.aptana.com/dev/index.php/Contributing_to_the_Samples_view