How to fully clean, re-resolve and rebuild a Scala sbt-managed project in IDEA?

前端 未结 10 675
一向
一向 2021-02-02 06:18

TL;DR: How can I fully reconcile all dependencies in IntelliJ when SBT file changes

I have a SBT project setup in IntelliJ. For the most part if works l

10条回答
  •  梦谈多话
    2021-02-02 06:30

    try following steps:

    1. close IntelliJ
    2. backup whole project folder
    3. delete .idea folder
    4. delete target folder
    5. delete project/target folder
    6. reopen IntelliJ and import as a sbt project

    Note this is only for SBT projects

提交回复
热议问题