3 comments
Comment actions Permalink
Official comment

Hi, because such a use case is quite rare, the UI is only Scala-specific. You can either:

  • Create an SBT Scala project, then remove Scala from project description and refresh the project (via SBT tool window).
  • Create SBT project by hand (which is probably the preferred method, anyway), then import the project in IDEA.

Maybe we should add such an option to the project creation wizard.

Comment actions Permalink

Thanks, I will probably go with option 2.

I would recommend either adding it to the wizard or just removing (or update) the reference to Java projects from the Help to avoid confusion. Right now it sounds like SBT should be an option for java projects after installying Scala.

This is definitely an odd situation and is because of an external requirement. It is not something I would normally be trying to do. Before yesterday I had never heard of SBT.

 

 

0
Comment actions Permalink

To whom it may concern: Creating a Scala SBT project and then simply creating Java classes seems to work just fine. If you rename the package `src/main/scala` to `src/main/java` you need to run `sbt` in the terminal in the project folder or `reload` from the sbt shell window. But I just created a Main class and a test via JUnit. So my claim could be wrong.

0

Please sign in to leave a comment.