Running code from the gutter

To run main or test functions, click the Run icon in the gutter and select the necessary action (Run, Debug, Coverage).

Also, if these functions are at the caret, you can press &shortcut:ShowIntentionActions; and select the Run intention action.

Run from the gutter