sbt-idea icon indicating copy to clipboard operation
sbt-idea copied to clipboard

gen-idea creates scala facets for pure java builds.

Open marcelinarcyz opened this issue 11 years ago • 2 comments

I'm doing a pure Java project in SBT at the moment with autoScalaLibrary set to false. The idea project generator creates Scala facets which trigger errors and must be manually deleted on every gen-idea run. This isn't a showstopper but it's an inconvenience and it confuses team mates.

marcelinarcyz avatar Jun 20 '13 00:06 marcelinarcyz

Our "Web" subproject had unwanted Scala facets. The following stopped generating the facets: ideaIncludeScalaFacet in Web := false

RichJohnson2 avatar Aug 01 '13 19:08 RichJohnson2

If I run gen-idea, open that project and go to Project Structure, there is no facet at all and one can't even add a scala facet because of non existing scala compiler. The only way to deal with it is right click on the project and click Add Framework Support

l15k4 avatar Apr 09 '14 15:04 l15k4