Nika "run" seems to be gone

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

9 comments
Comment actions Permalink

It's working for me.
Running Scala program is "Application" run configuration.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

I have added two screenshots....

My context menu looks like:

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
And to do Run application
Choose Main Class_008.png

0
Comment actions Permalink

Check that the Project SDK (pointer to the Java installation) is configured correctly (File, Project Structure, Project, SDK)

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.

0
Comment actions Permalink

Great news, I found problem. So it's fixed, thank you for your help!

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

That's indeed great news :)

0

Please sign in to leave a comment.