In PyCharm, how can I save only the current file?

In PyCharm, Cmd-S saves all open files.

I want it to save only the current file on Cmd-S. I want to use Cmd-Shift-S to save all open files. How can I customize this?

Note. I disabled autosave, for example:

Settings> Appearance and behavior> System settings> uncheck the box "Save files when deactivating frames" and "Automatically save files if the application is inactive"

+6
source share
1 answer

PyCharm 4.5.4 has a command called Save Document. It saves only the current file.

Go to Settings> Keyboard

Find "Save All" in the search box on the right. Find the Save All command, right-click on it, delete Cmd-S and add Cmd-Shift-S. He may warn you that this will remove Cmd-Shift-S from another command; Click "Delete."

Find "Save Document." Right-click on it and add the shortcut Cmd-S.

On Windows, use Ctrl-S instead of Cmd-S.

+5
source

All Articles