Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm run configurations not on main window

PyCharm Community Edition as shown below on Ubuntu 18.04 box.

enter image description here

Notice the run configurations dropdown is not on my main window

enter image description here

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

like image 476
Adam Hughes Avatar asked Dec 06 '22 08:12

Adam Hughes


2 Answers

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>

Somehow it got set to false...

LazyOne's original answer below

Main Menu | View | Appearance.

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).

enter image description here

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

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

enter image description here

P.S. Screenshots are from PhpStorm, but it should be the same for PyCharm (as they both based on IDEA platform).

like image 116
LazyOne Avatar answered Dec 22 '22 16:12

LazyOne


@LazyOne has the correct answer if you installed PyCharm from source. If you installed it as a snap package, there is no ~/.PyCharm* dir.

Instead, you'll need to edit ~/.config/JetBrains/PyCharmCE2020.1/options/ui.lnf.xml

(where the CE2020.1 part is the version you have installed)

like image 24
crypdick Avatar answered Dec 22 '22 15:12

crypdick