如何在 Visual Studio Code 中恢复菜单栏 [英] How to restore the menu bar in Visual Studio Code

查看:40
本文介绍了如何在 Visual Studio Code 中恢复菜单栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在首选项中禁用了菜单栏,它按预期消失了.现在无法再次进入首选项菜单.如何取回?

I disabled the menu bar in preferences and it disappeared as expected. Now there's no way to get to the preferences menu again. How do I get it back?

推荐答案

对于 Windows 用户:

对于旧版本 (<1.54) 的 Visual Studio Code:按 Alt 使菜单暂时可见.当菜单可见时,转到 View 菜单并选择 Appearance ->显示菜单栏.

For older versions (<1.54) of Visual Studio Code: Press Alt to make the menu visible temporarily. While the menu is visible go to the View menu and choose Appearance -> Show Menu Bar.

对于较新版本,请参阅以下步骤,或者如果 Alt 不起作用,请使用 Crtl + Shift + P 作为命令面板,键入menu"并选择 View: 切换菜单栏

For newer versions see the following steps or if Alt does not work use Crtl + Shift + P for command pallete, type 'menu' and select View: Toggle Menu Bar

或者打开设置Ctrl+,,搜索并将Window:Menu Bar Visibility更改为classicvisible.

Alternativily open settings Ctrl+,, search for and change Window: Menu Bar Visibility to either classic or visible.

对于 macOS 用户:

如果您处于全屏模式,您可以将光标移动到屏幕顶部以查看菜单,或者您可以使用 Ctrl+Cmd+F 退出全屏模式,或者⌃⌘F 在外星人的脚本中.

If you are in Full-Screen mode you can either move the cursor to the top of the screen to see the menu, or you can exit Full-Screen using Ctrl+Cmd+F, or ⌃⌘F in alien's script.

这篇关于如何在 Visual Studio Code 中恢复菜单栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆