PyCharm 2024.3 Help

Background tasks

When lengthy tasks are running, such as search and replace or VCS updates, PyCharm automatically moves their execution to the background. You can still view the progress of certain background tasks.

To view tasks running in the background, do one of the following

  • Click the Status bar to open the Background Tasks dialog:

    Status bar
  • In the main menu, go to Window | Background Tasks | Show:

    Show background tasks

As a result, the Background Tasks dialog opens, showing all the tasks that are currently running in the background. You can review their progress, and if necessary, cancel the unnecessary tasks by clicking Stop the task.

Background tasks

When the Auto Show command is checked in Window | Background Tasks, the Background Tasks dialog opens automatically every time a task is launched in the background.

Sometimes, when PyCharm cannot predict the end time of a background task, the Cancel button is not available. In most cases, this happens when indexing or running project interpreter tasks. As a workaround, you can try to set another interpreter for the project.

Last modified: 29 October 2024