Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In intellij, how to refresh project after changing build.sbt

Every time I change the build.sbt, it gives hints to refresh project or ignore. I recently click the ignore by mistake, and it never gives me the hints any more. So I can't refresh it any more, and after editing the build.sbt, the project still uses the old configuration.

like image 647
K F Avatar asked Mar 15 '16 03:03

K F


People also ask

Where is refresh option in IntelliJ?

To run Standard Refresh, click the Refresh toolbar button. or press Ctrl+F5 . To run Force Refresh, click the Force Refresh toolbar button.

How do I clear my sbt cache?

You can use Pretty Clean to clean the all of dev tools caches including SBT. PrettyClean also cleans the SBT project's target folder.


1 Answers

You can force SBT to reload changes: Open SBT toolwindow (on the right side of IDE) and press refresh button.

If you use auto-import feature you need to save your file to force auto-refresh.

This has been answered here How to force IntelliJ IDEA to reload dependencies from build.sbt after they changed?

like image 146
Aleksandar Marinkovic Avatar answered Sep 22 '22 09:09

Aleksandar Marinkovic