"Build project automatically" ignores "Save files automatically" settings
Hi
I'm working with IntelliJ 2018.1.2 (Ultimate Edition, Build #IU-181.4668.68). I installed the Save Actions Plugin (plugins.jetbrains.com/plugin/7642-save-actions) and enabled the compiler option "Build project automatically". The problem now is that IntelliJ ignores all settings for "Save files automatically". Therefore all files are stored every second which ends up with executing everything that save actions does. For example pressing return after curly braces to type something in the method body, thinking for a second about what and tada, line deleted and Cursor stands behind the closing curly brace. With other words: Save actions does not go together with save actions.
Why does "Build project automatically" auto save files i'm currently editing?
Thanks
Joe
Please sign in to leave a comment.
IntelliJ IDEA versions before 2018.2 performed the automatic save after changes and invoked compilation.
This behavior has changed in 2018.2 (https://www.jetbrains.com/idea/nextversion/). Now the changes are not saved automatically and compilation doesn't occur until the changes are saved.
There is also a new VM option -Dcompiler.document.save.enabled=true/false to control this behavior (false is the default).
Related ticket: https://youtrack.jetbrains.com/issue/IDEA-141128.