Can't run Kotlin program - necessary to edit configuration


I downloaded latest IDEA, Ubuntu 16.04. I thought it supposed just to work - of out the box. I tried to run ‘hello world’, but when I click ‘run’ it proposes me to edit configurations.


To run the program, click on the gutter icon, as described in the tutorial.


I don’t have such:


Write the main function outside the class. Right now, it is an instance method, not suitable to be run as main.


Thanks guys. It works now.