Disable autosave
Answered
Hello,
i would like to disable the autosave, because if the autosave is enabled, you cannot use the save action plugin. Everytime if you add some blank lines, the formatter will delete this line. Very annoying!
Thanks for help
Please sign in to leave a comment.
Please see https://stackoverflow.com/a/28950477/104891 and similar answers.
I know the post, but didn't work.
I see the asterisk, but after 2 seconds the code is newly formatted and the asterisk is disabled.
What file do you edit?
*.java files
Does it happen with the vanilla installation without any third-party plug-ins and the Save files on frame deactivation and Save files every ... options disabled?
I disabled all options. My version is IntelliJ IDEA 2017.2.1 Build #IU-172.3544.35, built on July 31, 2017
If i remove the save action plugin, the file is saved after 2-3 sec. (asterisk disappears)
Do you have automatic compilation enabled?
No it's unchecked.
Please show the screenshot with your settings:
Do you have any file watchers configured?
I have not consciously changed anything. Where can I see the watchers?
These are provided by the File Watchers plug-in.
Anyway, we can't reproduce the described problem.
Please file a ticket to support at https://intellij-support.jetbrains.com/hc/requests/new, attach the sample project and provide the exact steps to reproduce it. Also attach the logs (https://intellij-support.jetbrains.com/hc/articles/207241085).
Interesting, it's just in 1 project.
Thanks for your help. I deleted the project and reimport it. Now all works fine :)
anyone know if it is possible to disable auto-save for a specific file? In general I really like auto-save, but I have one file that I need to manually save only
No, you can't disable it per file.
Just in case anyone gets to this thread and is working with javascript files; remember that there is an option that "helps" by saving automatically to keep Flow up to date.
"Languages & Frameworks" > "JavaScript" > "Save all modified files automatically"