cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

ScalaMainClass

How to Set Main Class and Run

Scala Plugin does not support run/debug single Scala file yet, but, you can change and set project's Main class to run/debug it:

  1. Set project's Main class in project's properties dialog,input the full qualified name of this class, for example: scalaproject1.RunMe
  2. Make sure the main method return UNIT type