GIS Console

GIS Console shows the the session's output and allows you enter session's commands. Each session has its own console automatically created after starting it.

Process Console

GIS Console shows three different kinds of text:

You can choose different colors for these kinds of text on Opens the Console preference page Run/Debug > Console preference page.

The label on the top contains information about the session's name, type and session launcher command line. The highlighted prompt indicates a place where commands can be entered.

Extra commands available in GIS Console are listed below.

CommandNameDescriptionAccessibility
  Browse Class Opens selected class in Class Browser. Context menu
  Browse Method Opens selected method in Class Browser. Context menu
Clears currently entered command Clear Console Input Clears text entered after prompt. Context menu and view action
Copy Copy Copies selected text to the clipboard. Context menu
Cut Cut Cuts selected text to the clipboard. Context menu
  Find/Replace Opens Find/Replace dialog for finding elements in the content of the console. Context menu
Loads selected file into the session Load File Allows to select and load a Magik file into the session. Context menu and view action
Next Command Next Command Enters next command from the history into the console. Context menu and view action
Next Matching Command Next Matching Command Enters into the console previous command, which starts with already entered string. Context menu and view action
Paste Paste Pastes material saved in the system's clipboard into the current console. Context menu
Previous Command Previous Command Enters previous command from the history into the console. Context menu and view action
Previous Matching Command Previous Matching Command Enters in the console previous command, which starts with already entered string. Context menu and view action
  Select All Selects all content from the console. Context menu
Show Previous Commands Show Previous Commands Opens Command History dialog. Context menu and view action
Terminate Terminate Terminates running session (see also Stop command). View Action
Removes terminated console from view Remove Launch Removes terminated console. View Action
Removes all terminated consoles from view Remove All Terminated Launches Removes all terminated consoles. View Action
Show Console When Standard Out Changes Show Console When Standard Out Changes Will open (if needed) and bring up a console when information is written to the System.out stream View Action
Show Console When Standard Error Changes Show Console When Standard Error Changes Will open (if needed) and bring up a console when information is written to the System.err stream View Action

Related concepts

Magik views
Magik perspectives
Executing Commands In Console

Related tasks

Changing the appearance of the console view

Related Reference

Console View
Stacktrace Console
Smart caret positioning and selection in Magik names