Commands Specific to the Script Extension

The following commands are specific to jsstudio:

  • LoadScript loads and evaluates a Script source file.

  • ShowScriptErrorList shows the syntax error list.

  • ShowScriptDebugger activates the Script Debugger panel.

  • ShowScriptEditor activates a simple script editor.

LoadScript

Label

Load Script...

Path

File menu > Open... > Files of type Script Files (*.js)

Category

script

Action

Loads and evaluates a Script source file. This command opens a File Selector panel that lets you choose a Script source file.

ShowScriptErrorList

Label

Script Error List

Path

Tool bar

Category

script

Action

Displays syntax errors. When you test your application or the current buffer, the script attached to the concerned buffers are evaluated. Syntax errors, if any, are displayed in the Script Error list. You can double-click on an error message to locate and edit the source code in the Script Editor. Note that the buffer corresponding to the script is selected.

ShowScriptDebugger

Label

Script Debugger

Path

Tool bar

Category

script

Action

Displays the Script Debugger panel that lets you debug your scripts and access the Script virtual machine.

ShowScriptEditor

Label

Script Editor

Path

Tool bar

Category

script

Action

Displays the Script Editor that lets you edit the inline script attached to the current buffer.