简体   繁体   中英

IntelliJ: multi-module scala (SBT) project source code refactoring

IntelliJ provides a handy support for refactoring a maven multi-module project via the Add Maven Projects command. Is there a similar option for Scala (SBT) projects.

ps my current workaround is to convert a scala project from sbt to maven build; and then include it as a module in maven project.

Attaching an existing SBT project to current one? It is possible from SBT tool window:

http://imageshack.us/a/img21/8820/h8nw.png .

There is also an issue ( SCL-6625 ) about incorrect module dependencies in SBT projects. The answer was provided by Andrey from JetBrains/IntelliJ Support.

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