In intellij, how to update a project after changing build.sbt

Every time I change build.sbt, it gives hints for updating the project or ignoring it. I recently clicked ignore by mistake, and it no longer gives me hints. Therefore, I can’t update it, and after editing build.sbt, the project still uses the old configuration.

+4
source share
1 answer

You can force SBT to reload changes: open the SBT tool window (on the right side of the IDE) and click the update button.

If you use the auto-import function, you need to save the file in order to force update it.

IntelliJ IDEA build.sbt ?

+7

All Articles