When lengthy tasks are running, for example, search and replace, VCS update, and so on, PyCharm displays the progress bar. You can bring execution of such tasks to the background by clicking the Background button.
However, when a task of a certain type is brought to the background, you can still view its progress.
To view tasks running in the background, do one of the following
View the Status bar:
In the Status bar, click .
As a result, the Background Tasks manager 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 .
When thecommand is checked in , the Background Tasks manager 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 the most cases, this happens when indexing or running project interpreter tasks. As a workaround, you can try to set another interpreter for the project.