PyCharm 2021.2 Help

System Settings

Configure the general behavior of PyCharm.

Item

Description

Confirm before exiting the IDE

Show a dialog with a confirmation when you attempt to close PyCharm.

When closing a tool window with a running process

Select what to do with the running process:

  • Terminate process: stop the process entirely.

  • Disconnect: leave the process running but disconnect from it.

  • Ask: show a dialog with actions to choose from.

Project

Item

Description

Reopen projects on startup

Open all projects that were open when you closed PyCharm last time.

Open project in

Select where you want to open projects:

  • New window: open every project in a separate window.

  • Current window: close the current project and open the new one in the same window.

  • Ask: show a dialog with actions to choose from.

Default project directory

Specify the default location for projects. This directory is suggested when you create a new project or want to open an existing project.

Autosave

Item

Description

Save files if the IDE is idle for N seconds

Save all modified files at regular time intervals.

Save files when switching to a different application

Save all modified files when you switch from PyCharm to a different application.

Back up files before saving

Before saving the file, create a backup. If the save operation is successful, the backup is deleted. If not, the contents of the original file are restored from backup. This behavior is known as "safe write" and it prevents losing your file in case of a faulty save operation.

Synchronize external changes when switching to the IDE window or opening an editor tab

Reload externally changed files when you switch to PyCharm from a different application, or when you switch to the corresponding editor tabs.

Last modified: 03 August 2021