To run a main or test function at the caret, press and select the Run intention action.