PyCharm运行配置不在主窗口上 [英] PyCharm run configurations not on main window

查看:131
本文介绍了PyCharm运行配置不在主窗口上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PyCharm社区版,如下所示在Ubuntu 18.04上.

PyCharm Community Edition as shown below on Ubuntu 18.04 box.

请注意,运行配置下拉列表不在我的主窗口中

Notice the run configurations dropdown is not on my main window

搜索了docs/settings/views,无法弄清楚如何将其附加到主视图.其他人有这个问题吗?

Searched docs/settings/views and can't figure out how to get it attached to the main view. Anyone else have this issue?

推荐答案

感谢@LazyOne,您的回答使我注意到了导航栏;但是,当我按照您的建议启用它时,它仍然处于隐藏状态.这似乎是

Thanks @LazyOne, your answer brought my attention to the navigation bar; however, when I enabled it as you suggested it was still hidden. This seems to be a known issue in IntelliJ with a known solution. I had to edit the PyCharm config file ~/.PyCharmCE2019.3/config/options/ui.lnf.xml, changing the following line then restarting the IDE:

<application>
  <component name="UISettings">
    ...
    <option name="SHOW_MAIN_MENU" value="true" />
    ...
  </component>
</application>

以某种方式将其设置为false ...

Somehow it got set to false...

主菜单|查看|外观.

启用导航栏以查看文件路径导航+右侧的小工具栏...或工具栏以查看完整的工具栏(对我来说过分杀伤那里几乎没有使用那么多图标.

Either enable Navigation Bar to see file path navigation + small toolbar on the right ... or Toolbar to see a full toolbar (overkill as for me as you would barely use that many icons there).

默认情况下,运行/调试配置"下拉菜单是两个工具栏的一部分(全部和较小).

A drop down with Run/Debug Configurations is part of both toolbars by default (full and small).

如果需要自定义它们-Settings/Preferences | Appearance & Behavior | Menus and Toolbars:

If you need to customize them -- Settings/Preferences | Appearance & Behavior | Menus and Toolbars:

P.S.屏幕截图来自PhpStorm,但对于PyCharm,它应该是相同的(因为它们都基于IDEA平台).

这篇关于PyCharm运行配置不在主窗口上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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