Console Plugin By Slava Pestov
slava@jedit.org

General Information
The Console Shell
The BeanShell
Using Other Shells
The Console Tool Bar
Change Log

General Information

The console plugin allows the user to run commands in various available shells. The default console shell runs system processes (such as programs, compilers, etc). The BeanShell runs commands in jEdit's BeanShell interpreter. Some plugins such as JCompiler add their own shells which perform other tasks.

A console can be opened by selecting Plugins>Console. The console window can be set to dock into the view in Utilities>Global Options>Docking.

The console consists of a shell selection combo box, a text field for entering commands, and an output area.

Pressing ENTER in the command field will execute the currently entered command. Previously entered strings can be recalled with the UP and DOWN keys.

Entering the `clear' command in any shell will remove all text from the output area.

Tip: if you find yourself executing the same console command frequently, record it in a macro. Simply enter the command in the console while a macro recording is in progress.


The Console Shell

The console shell runs operating system commands. To use it, select Console from the popup menu to the right of the command text field.

The default shell understands the following variables as part of a command:

The default shell also parses command output for compiler errors. A number of different formats are supported, and new error patterns can be added in Utilities>Global Options>Console. Parsed errors are added to the error list, which can be viewed by invoking Plugins>Error List (if you do not see that menu item, then you need to install the ErrorList plugin).

When running on Java 1.3 or later, the working directory from which commands are executed can be changed with the "cd" command. To display the current working directory, use the "pwd" command.


The BeanShell

The BeanShell runs commands in jEdit's BeanShell interpreter. To use it, select BeanShell from the popup menu to the right of the command text field.

Using Other Shells

A few other plugins define shells of their own; JCompiler, for example. To use an alternative shell, select it from the shell popup in the console window.

The Console Tool Bar

If enabled in Utilities>Global Options>Console, the console will add a tool bar to each view allowing quick and easy command invocation.

Change Log

Version 2.4.5

Requires EditBus 0.10 and jEdit 3.0pre5.

Version 2.4.4

Requires EditBus 0.10 and jEdit 3.0pre5.

Version 2.4.3

Requires EditBus 0.10 and jEdit 3.0pre5.

Version 2.4.2

Requires EditBus 0.10 and jEdit 3.0pre5.

Version 2.4.1

Requires EditBus 0.10 and jEdit 3.0pre5.

Version 2.4

Requires EditBus 0.10 and jEdit 3.0pre5.

Version 2.3.1

Requires EditBus 0.10 and jEdit 2.6pre5.

Version 2.3

Requires EditBus 0.10 and jEdit 2.6pre5.

Version 2.2

Requires EditBus 0.9.4 and jEdit 2.6pre3.

Version 2.1.3

Requires EditBus 0.9.4 and jEdit 2.5.1.

Version 2.1.2

Requires EditBus 0.9.2 and jEdit 2.5pre1.

Version 2.1.1

Requires EditBus 0.9.2 and jEdit 2.4.2.

Version 2.1

Requires EditBus 0.9.2 and jEdit 2.4pre6.

Version 2.0.2

Requires EditBus 0.9 and jEdit 2.2pre3.

Version 2.0.1

Requires EditBus 0.9 and jEdit 2.3pre3.

Version 2.0

Requires EditBus 0.9 and jEdit 2.3pre3. This is a complete rewrite that has an enhanced user interface, customizable error parsing, and many other improvements.