Main menu toolbar missing in PyCharm
Asked Answered
I

5

9

I want to show the top main menu toolbar that recently disappeared in PyCharm.

Screenshot of top toolbar

I was trying to find the setting in config\options\ui.lnf.xml in the IntelliJIdea and PyCharm directories, but there is no such file.

Ingram answered 23/2, 2021 at 9:54 Comment(0)
L
25

This should work:

  • press Shift twice (equivalent to Navigate > Search Everywhere).
  • type main menu (or just ma me).
  • select View | Appearance: Main Menu.
Loads answered 23/2, 2021 at 12:14 Comment(0)
N
6

Here are the steps to unhide (Or show back) the main menu/Toolbar in Goland/PyCharm or other IntelliJ Editors:

  1. Click on the search icon in the top right-hand corner
  2. In the search bar, type the word menu
  3. You should see this result come up: View | Appearance: Main Menu
  4. Then just click the toggle to change it from "Off" to "On"

screenshot of editor window

Nonjuror answered 2/2, 2022 at 8:12 Comment(1)
I can't find this option on GoLand 2021.3.3 Build #GO-213.6777.51, built on January 27, 2022Tamishatamma
T
1

Is your OS Linux? Try adding linux.native.menu=false into Help | Edit Custom Properties and restart IDE.

Tarsal answered 23/2, 2021 at 10:15 Comment(0)
A
1

There is a file name ui.lnf.xml, the location of this file may different from OS to OS.

In Linux - the file location is - Home directory after that .config/JetBrains/Idea_<<version>>/options. For example I am using Ubutu where I can find the location like -

$ sudo find /home/ -name "ui.lnf.xml"
/home/xxxx/.config/JetBrains/IdeaIC2022.2/options/ui.lnf.xml

Under the ui.lnf.xml there will be an entry if main menu is off:

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

Need to change the value from false to true.

Arva answered 17/9, 2022 at 9:19 Comment(0)
A
0

Go to Settings > Appearance > Show main menu in a separate toolbar

enter image description here

Arborvitae answered 19/1, 2024 at 3:27 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.