Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to tell when pycharm saves file

Tags:

I am new to PyCharm and am trying to figure out when it saves my files. There is no indicator (like in Notepad++ for example) showing that the file has been modified. How do I tell when it has been saved vs modified?

like image 840
Alex Avatar asked Dec 23 '15 02:12

Alex


People also ask

Does PyCharm automatically save files?

PyCharm automatically saves changes that you make in your files. Saving is triggered by various events, such as compiling, running, debugging, performing version control operations, closing a file or a project, or quitting the IDE.

Where do PyCharm files save?

By default, PyCharm stores user-specific files for each IDE instance (configuration, caches, plugins, logs, and so on) in the user's home directory.

How do I enable auto save in IntelliJ?

In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Appearance & Behavior | System Settings. Under Autosave, configure the following options: Save files when switching to a different application or a built-in terminal: Save all modified files when you switch from IntelliJ IDEA to a different application.

How do you undo changes in PyCharm?

Fortunately PyCharm makes it easy to undo the commit if it hasn't yet been pushed. Go to the Version Control tool window and click on the Log tab. Then right-click on the commit and choose Undo from the context menu. The changes in that commit need to go "somewhere." In PyCharm, that "somewhere" is called a changelist.


1 Answers

By default PyCharm will save files whenever you switch apps. If you want to see which files it hasn't saved yet, there is a config options for this under "Settings" -> "Editor" -> "General" -> "Editor Tabs" you can check the "Mark modified (*)" option.

Below you can find a screenshot of the setting taken in PyCharm 2020.2:

enter image description here

like image 50
Turn Avatar answered Sep 18 '22 22:09

Turn