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 set that up?
Note: I have autosave turned off, like this:
Preferences > Appearance & Behavior > System Settings > uncheck "Save files on frame deactivation" and "Save files automatically if application is idle"
Revert selected changes In the Changed Files pane, right-click the file that you want to revert and select Revert Selected Changes from the context menu. This results in a new commit that reverses the changes you want to undo.
By default, PyCharm stores user-specific files for each IDE instance (configuration, caches, plugins, logs, and so on) in the user's home directory.
You can always save your changes manually: Press Ctrl+S or select File | Save All from the main menu.
In PyCharm 4.5.4 there is a command called "Save Document". It saves only the current file.
Go to Preferences > Keymap
Search for "Save All" in the search box on the right. Find the "Save All" command, right-click on it, remove Cmd-S and add Cmd-Shift-S. It may warn you that this will remove Cmd-Shift-S from another command; click "Remove".
Search for "Save Document". Right-click on it and add the Cmd-S shortcut.
On Windows, use Ctrl-S instead of Cmd-S.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With