Pycharm show toolbar, main menu missing

Viewed 4719

Recently the toolbar is disappeared in pycharm. enter image description here

I was trying to find config\options\ui.lnf.xml in IntelliJIdea and Pycharm directory, but there is no such file.

4 Answers

This should work:

  • press Shift twice (equivalent to Navigate > Search Everywhere)
  • type main menu (or just ma me)
  • select View | Appearance: Main Menu

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"

enter image description here

Cheers!

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_<>/options. For example I am using Ubutu.. then 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. This will solve the problem.

Related