Tools | 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
stop Stop

⌘F2 or ⌘F2⌘F2 or ⌘F2⌘F2 or ⌘F2⇧ F5, ⇧F5 or ⇧F5^ F2, ⌃F2 or ⌃F2
Click this button to stop the current process.

For a Node.js run configuration, clicking the button once invokes soft kill allowing the Node.js application to catch the SIGINT event and perform graceful termination (on Windows, the ⌘C or ⌘C⌘C or ⌘C⌘C or ⌘C^ C, ^ Insert, ⌃C or ⌃C^ Insert, ⌥ C, Escape, W, ⌥C, ⎋, W, ⌥C or ⎋, W event is emulated). After the button is clicked once, it is replaced with icon_run_tool_window_kill.png indicating that subsequent click will lead to force termination of the application, e.g. on Unix SIGKILL is sent.

close.png Close

⌃⇧F4 or ⌃⇧F4⇧⌘F4 or ⇧⌘F4⌘W or ⌘W^ ⇧ F4, ⌃⇧F4 or ⌃⇧F4^ ⇧ F4, ⌃⇧F4 or ⌃⇧F4
Click this button to close the selected tab of the Run tool window and terminate the current process.
runBuild Execute Groovy Code (⌘⏎ or ⌘⏎⌘⏎ or ⌘⏎⌘⏎ or ⌘⏎^ Enter, ⌃⏎ or ⌃⏎^ Enter, ⌃⏎ or ⌃⏎) Run code, entered in the console.
help Help

F1 or F1F1, F1 or F1F1, F1 or F1
Use this icon or shortcut to open the corresponding help page.

See Also

Procedures: