英文:
Missing sidebar and menu bar in VS Code - how to restore the layout?
问题
以下是翻译好的部分:
如何恢复 VS Code 的基本布局。不小心隐藏了侧边栏和菜单栏。我无法访问任何内容。请帮助我解决这个问题。
我找不到侧边栏、菜单栏和其他功能。
英文:
Here's a screenshot of what I'm seeing.
How to restore the basic layout of vs code. Accidentally the sidebar and menu bar is hidden. I am unable to access anything. Please help me out from this issue.
I did not find sidebar, menu bar and other functionalities.
答案1
得分: 1
你可以点击“自定义布局...”按钮,然后按照下面的截图显示/隐藏/恢复相应的工具栏:
英文:
You may click on the "Customize layout.." button and then view/hide/restore the appropriate bars as shown in below screenshot:
答案2
得分: 0
你是在询问恢复默认工作区吗?
如果是的话,根据VS Code文档:
您可以通过将鼠标悬停在设置上以显示齿轮图标,然后单击齿轮图标,选择“重置设置”操作来随时将设置重置为默认值。
您可以在这里了解更多信息。
英文:
Are you referring to restoring the default workspace?
If so, according to VS Code Documentation:
> You can always reset a setting to the default value by hovering over a setting to show the gear icon, clicking on the gear icon, and then selecting the Reset Setting action.
You can read more on that here
答案3
得分: 0
你可以使用命令面板中的View: Reset View Locations
命令重置视图位置。
对于缺失的菜单,请检查您的用户settings.json文件,查找修改"window.menuBarVisibility"
属性的行。我怀疑您可能意外将其设置为"hidden"
。您可以将值更改为您想要的任何值,或者删除该行以使用该设置的默认值。
英文:
You can reset view locations using the View: Reset View Locations
command in the command palette.
For the missing menu, check your user settings.json file and look for a line that modifies the "window.menuBarVisibility"
property. I suspect you have accidentally set it to "hidden"
. You can either change the value to whatever you want, or remove that line to cause the default value of the setting to be used.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论