IntelliJ IDEA 2021.1 Help

Groovy shell

A Groovy shell is a command-line application that lets you evaluate Groovy expressions, functions, define classes and run Groovy commands. The Groovy shell can be launched in Groovy projects.

ItemTooltip and ShortcutDescription
the Stop buttonStop
Ctrl+F2

Click this button to stop the current process.

Clicking the button once invokes soft kill allowing the application to catch the SIGINT event and perform graceful termination (on Windows, the Ctrl+C event is emulated). After the button is clicked once, it is replaced with the Kill Process button indicating that subsequent click will lead to force termination of the application, for example on Unix SIGKILL is sent.

the Close buttonClose
Ctrl+Shift+F4
Click this button to close the selected tab of the Run tool window and terminate the current process.
Tool WindowRunExecute Groovy Code Ctrl+EnterRun code, entered in the console.
Last modified: 08 March 2021