简体   繁体   中英

How to add new SBT module in intelliJ?

I would like to add a new SBT scala module to my existing SBT scala project. When I right click on my project and select new module, I could not find sbt (but I can only find Scala).

My IntelliJ version is 2020.2

Unfortunately, I can not attach print screen.

Should I have to install something ?

IntelliJ can refresh SBT setup and read in the updated setup.

So just edit your SBT configuration: add new module there, configure it as you want. Then pick SBT tab and pick refresh (the first icon from left on third picture in this section https://www.jetbrains.com/help/idea/sbt-support.html#sbt_structure ).

After than new module should appear in IntelliJ.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM