# Displaying the Jaxer Shell View [edit]

This Help topic gives an overview of the Jaxer Shell View.

## Introduction

The Jaxer Shell View provides you with an Ajax command-line console to interact with the Jaxer server. You can type single line commands or function definitions to execute on the Jaxer server. The console will then display your results.

## Instructions

### Displaying the Jaxer Shell View

To display the Jaxer Shell View:

1. From the Window menu, select Show View > Other... to open a Show View window.
2. On the Show View window, expand the Aptana folder and select Jaxer Shell.
3. Click OK.

Aptana displays the Jaxer Shell View (shown below).

### Typing commands

Type your JavaScript commands into the top panel:

- Use tabs to indent your code without leaving the panel.
- Use print(...) to print a string (or anything that implements toString) back to the console.

The bottom panel displays the commands that Jaxer received and any output.

- Your input is displayed in green.
- Any output (from the print(...) function) is displayed in black.
- Any errors (exceptions) are displayed in red.

### Running commands

Use the following buttons to run your commands on one or more servers:

- Click the Run All button to run your commands on all servers.
- Click the Run Selected button to run your commands on all selected servers.
- Click the Run All Open button to run your commands on all currently open servers.

### Navigating your commands

Use the History drop-down list to navigate through your previous commands.

### Managing the console

Use the following buttons to manage the console output:

- Click the Select Server button to select a server from the list.
- Click the Refresh Server button to refresh the server.
- Click the Clear Console button to clear the console.
- Click the Save Session button to save your session.

## Related Topics

- About the Jaxer server
- Getting Started with Jaxer in Aptana Studio
- Creating a new Jaxer project
- Previewing a Jaxer project
- About Jaxer Views
  - Displaying the Servers View
  - Displaying the TailView View
  - Displaying the Jaxer Activity Monitor View
- Configuring your Jaxer servers
- Setting your TailView preferences
- JaxerManager_Command_Line_Interface_(CLI) Reference
- Running the Jaxer server diagnostic tools

Retrieved from "http://aptana.com/docs/index.php/Displaying_the_Jaxer_Shell_View"

Category: AptanaHelp