Nika "run" seems to be gone Follow
I might have missed something, but i don't see the "run" option anymore for Scala classes with a main. I see "Scala Console", "Scala Script", "Scala Test", "Specs" and "Specs2"
tx.,
Raphael
Please sign in to leave a comment.
It's working for me.
Running Scala program is "Application" run configuration.
Best regards,
Alexander Podkhalyuzin.
I have added two screenshots....
![secure-webapp - [~-Documents-courseware-edc4it-content-sessions-apache-tomcat-configuration-student-demos-secure-webapp] - [secure-webapp] - ...-src-main-scala-ListAlgorithms.scala - IntelliJ IDEA (Nika) IU-108.1333_007.png](http://adm-10980.intellij.net/zendesk-forum-storage/jc/5320240/secure-webapp%20-%20%5B~-Documents-courseware-edc4it-content-sessions-apache-tomcat-configuration-student-demos-secure-webapp%5D%20-%20%5Bsecure-webapp%5D%20-%20...-src-main-scala-ListAlgorithms.scala%20-%20IntelliJ%20IDEA%20(Nika)%20IU-108.1333_007.png)

My context menu looks like:
And to do Run application
Check that the Project SDK (pointer to the Java installation) is configured correctly (File, Project Structure, Project, SDK)
Yes it is..i have "Run .." available for Java classes.
BTW when i manually type the name of the Scala object inside the "Main Class" (showing red), it works.
Which OS are you using?
Few users complained on this bug on MacOS, and unfortunately I don't know how to fix it (I can't reproduce it even on MacOS).
Best regards,
Alexander Podkhalyuzin.
Good news...after a restart it seems to be there. I guess what happened is the following. I first made a class and then changed into an object. Perhaps the fact that it was a class as apposed to an obect was assumed from some caching?
I am running Linux/OpenSuse/KDE.
No, there is no such caching (I also tried to reproduce your steps, all is ok).
So I'll add some diagnostic for this bug. Thank you for your report.
Best regards,
Alexander Podkhalyuzin.
Great news, I found problem. So it's fixed, thank you for your help!
Best regards,
Alexander Podkhalyuzin.
That's indeed great news :)