Showing menu bar in sublime-text 3

2020-05-30 03:25发布

I am using Ubuntu 12.04 LTS and I got the Sublime Text editor from here.... http://sublimetext.com/3

I've googled this a lot and even after doing Alt+V I don't see an option to 'Show Menu'.

Here is a section of my .config/sublime-text-3/Local/Session.sublime_session:

"menu_visible": true,
"output.find_results":
{
    "height": 0.0
},

and

"distraction_free":
{
    "menu_visible": true,
    "show_minimap": false,
    "show_open_files": false,
    "show_tabs": false,
    "side_bar_visible": false,
    "status_bar_visible": false
},

But I can see the menu bar neither in default state nor in Distraction Free mode

I'm at a loss as to how to see the menu bar. I have an unregistered version by the way.

8条回答
迷人小祖宗
2楼-- · 2020-05-30 03:55

Apparently there is an undocumented toggle_menu command, so you can bind a key to it. But Alt alone does not seem to work - I guess because it's a modifier key for SLT.

.../User/Default (Linux).sublime-keymap:

[
    { "keys": ["f10"], "command": "toggle_menu"}
]
查看更多
何必那么认真
3楼-- · 2020-05-30 04:07

In Windows, you can press the Alt key and menu will reappear .

In Linux, You need to press Ctrl + Alt + P then menu will appear in center of the screen then you need to choose View -> Hide/Show Menu menu entry.

Then this will be permanently set as default.

查看更多
甜甜的少女心
4楼-- · 2020-05-30 04:08

Simple pressing Alt works for me. I'm using sublime text 3

查看更多
在下西门庆
5楼-- · 2020-05-30 04:13

Press Ctrl + Shift + p

Search for menu

Click on view: Toggle Menu

It will work

查看更多
男人必须洒脱
6楼-- · 2020-05-30 04:14

For me it worked this way:

I am using ubuntu 18.05 lts

ctrl+shift+p and then you get a search bar with all options. Type view and select View: Toggle menu

it will appear back automatically.

查看更多
乱世女痞
7楼-- · 2020-05-30 04:15
  • Invoke the command palette with CTRL + SHIFT + P
  • Type menu
  • Select View: Toggle Menu
查看更多
登录 后发表回答