问题
So recently my PyCharm is missing its run tool window that usually show the run/debug results. it is now replaced with python console and services, which is really frustrating because It's just showing gibberish and command-prompt-like format.
How do I return the run tool window back as my main run/debug window?
I have circled the tabs/windows that I meant in this pic with red circle.
Note: usually I can access this run tool window by pressing alt + 4.
Please see red circle:
This is my run config:
This is my view tab bar, it doesn't show run (alt+4):
回答1:
From what I understand you want the run icon pinned to your lower toolbar. (This corresponds to running whatever your last chosen configuration was.)
Two easy steps:
1º View -> Tool Windows -> Run
2º Right-click run icon on lower tool bar -> View Mode -> Dock Pinned
Edit after OP feedback:
If your Run
(Alt+4) option has disappeared completely, besides trying a PyCharm reinstall it's advisable to manually clean the preference files that might be hidden. Check the following paths C:\Users\user_name\AppData\Local\JetBrains
and C:\Users\user_name\AppData\Roaming\JetBrains
, C:\Users\user_name\.PyCharmCE2020.x
, and C:\Path_to_your_Project\.idea
. Some of there directories might be hidden so you'll have to check you've set them to be visible.
Even by reinstalling PyCharm some of the above configurations are likely to be kept. There's a strong possibility the state of whatever changes that caused Run
to disappear is kept in files inside the above mentioned directories.
来源:https://stackoverflow.com/questions/63581844/pycharm-run-tool-window-run-tab-window-is-missing