Pycharm是2019版的
打开Pycharm,然后双击Shift键两次,在弹出的搜索框中输入“view”。再找到“View | Appearance:Main Menu”,将“OFF”状态调整为“ON”即可看到菜单栏了。
截图如下:
勾选掉view→Appearance→Main Menu选项,菜单栏会消失。
后续补充:
针对2022专业版
截图如下:
PyCharm 2022.2.3 (Professional Edition)
Build #PY-222.4345.23, built on October 10, 2022
Licensed to cat method
You have a perpetual fallback license for this version.
Subscription is active until December 31, 2099.
Runtime version: 17.0.4.1+7-b469.62 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1006M
Cores: 8
补充:
Professional Edition版本的调出view方式和2019版本不太一样,下分步骤说明
1,打开Pycharm,然后双击Shift键两次,在弹出的搜索框中输入“view”,显示如下
2,点击上图中的view,弹出下图
3,然后依次选中Appearance→Main Menu,然后勾选Main Menu就可以了。