How tell always save file before commit?

Hi,

Sometimes the IDE asks me to save before commit or postpone saving after commit

How to make it so it always saves before commit?

Is there a setting that I can enable?

 

Thank you

1
9 comments

Hi,

Basically, I tried to reproduce the issue by disabling autosave everywhere it is possible but I cannot get this warning, IDE saves the file automatically for me.
Would it be possible to capture and show the screenshot of this warning?

0

Hi,

Sorry I didn't send a screenshot, I though it's a known issue

I will send you a screenshot as soon as it happens

Best regards

 

0

Here's a screenshot, please check

1

Thanks!

It looks quite similar to this report:
https://youtrack.jetbrains.com/issue/WI-65367/Commit-cause-Save-Files-During-Commit-dialog-box-frequently

Do you have any "Actions on save" and/or "Before commit" options enabled?

0

I have these options enabled

Thanks

0

Could you please try to temporarily untick these two options and check if a warning message on commit still appear?

0

Yes, I can try that
I will check if that's what's causing the issue
Thanks

0

Confirm this bug exists (just updated to latest version and got it) and confirm that disabling on save actions avoids this message to be shown.

1

I am also using “actions on save” in settings to perform “google-java-format” on save. I am encountering this “save files during commit” dialog every time I perform a commit. It's annoying and I'm hoping this bug is resolved soon.

0

Please sign in to leave a comment.