PyCharm 运行工具窗口(Run Tab Window)丢失 [英] PyCharm Run Tool Window (Run Tab Window) is missing

查看:136
本文介绍了PyCharm 运行工具窗口(Run Tab Window)丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我的 PyCharm 缺少通常显示运行/调试结果的运行工具窗口.它现在被替换为 python 控制台和服务,这真的很令人沮丧,因为它只是显示胡言乱语和类似命令提示符的格式.

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.

注意:通常我可以通过按 alt + 4 访问此运行工具窗口.

Note: usually I can access this run tool window by pressing alt + 4.

请看红圈:

这是我的运行配置:

这是我的视图标签栏,它不显示运行 (alt+4):

This is my view tab bar, it doesn't show run (alt+4):

推荐答案

据我所知,您希望将运行图标固定在下方的工具栏上.(这对应于运行您上次选择的配置.)

From what I understand you want the run icon pinned to your lower toolbar. (This corresponds to running whatever your last chosen configuration was.)

两个简单的步骤:

查看 ->工具窗口 ->运行

View -> Tool Windows -> Run

右击下方工具栏上的运行图标 ->查看模式 ->停靠固定

Right-click run icon on lower tool bar -> View Mode -> Dock Pinned

在 OP 反馈后

如果您的 Run (Alt+4) 选项完全消失,除了尝试重新安装 PyCharm 之外,建议手动清理可能隐藏的首选项文件.检查以下路径 C:\Users\user_name\AppData\Local\JetBrainsC:\Users\user_name\AppData\Roaming\JetBrainsC:\Users\user_name\.PyCharmCE2020.xC:\Path_to_your_Project\.idea.其中一些目录可能是隐藏的,因此您必须检查是否已将它们设置为可见.

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.

即使重新安装 PyCharm,上述某些配置也可能会保留.导致 Run 消失的任何更改的状态很有可能保存在上述目录中的文件中.

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.

这篇关于PyCharm 运行工具窗口(Run Tab Window)丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆