- From the Run menu, select Edit configurations
- Click the + button and select SBT Task.
- Name it Run the program.
- In the Tasks field, type ~run. The ~ causes SBT to rebuild and rerun the project when you save changes to a file in the project.
- Click OK.
- On the Run menu. Click Run ‘Run the program’.