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

0
18 comments
Avatar
Permanently deleted user

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.

0

What file do you edit?

0
Avatar
Permanently deleted user

*.java files

0

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?

0
Avatar
Permanently deleted user

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)

0

Do you have automatic compilation enabled?

0
Avatar
Permanently deleted user

No it's unchecked.

0

Please show the screenshot with your settings:

0
Avatar
Permanently deleted user

0

Do you have any file watchers configured?

0
Avatar
Permanently deleted user

I have not consciously changed anything. Where can I see the watchers?

0

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).

0
Avatar
Permanently deleted user

Interesting, it's just in 1 project.

0
Avatar
Permanently deleted user

Thanks for your help. I deleted the project and reimport it. Now all works fine :)

0
Avatar
Permanently deleted user

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

0

No, you can't disable it per file.

0
Avatar
Permanently deleted user

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"

2

Please sign in to leave a comment.