SBT project does not auto-create source directories anymore (2017.2.1)

Hello,

This tutorial:

https://www.jetbrains.com/help/idea/2017.2/getting-started-with-sbt.html?utm_content=2017.2&utm_medium=help_link&utm_source=from_product&utm_campaign=IC#import_project

has a screenshot where one can set "Create directories for empty content root automatically" flag when creating or importing an SBT project. I am importing an sbt project in IntellijCE 2017.2.1 and that flag is gone from the UI (see screenshot below). The source directories are not auto-created anymore. I was not able to find a preferences flag to create the either. I have a multi-module sbt project, if it matters. Please, advice how to make it work.

 

Thanks,

Timur

0
3 comments

Hello. Yes, this option was intentionally removed. Doc will be updated soon. Does produce any side effect in your case?

0
Avatar
Permanently deleted user

I would still like src/[main|test|it]/scala, src/[main|test|it]/java and src/[main|test|it]/resources to be autocreated when an sbt project or module is created. I think it was a useful feature. It was not visible to git (since empty dirs are not checked in), so dod not create any noise in the source, but having them ready locally was a convenience.

Thanks,

Timur

0

Thanks for the input, I've created an issue. Please vote on it if you would like to see this option returned.

0

Please sign in to leave a comment.