IntelliJ IDEA 2024.2 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.

Item

Tooltip and Shortcut

Description

the Stop button

Stop

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 button

Close

Ctrl+Shift+F4

Click this button to close the selected tab of the Run tool window and terminate the current process.

Tool WindowRun

Execute Groovy Code Ctrl+Enter

Run the code in the console.

Last modified: 28 June 2024