VS代码 - 在活动栏中切换搜索图标

Mat*_*att 52 visual-studio-code vscode-settings

我不小心删除了活动栏中的搜索图标,不知道如何再次添加它.如果我单击活动栏,我不再看到此选项.

截图

Mar*_*ark 99

您可能修改了设置:

"search.location": "sidebar",
Run Code Online (Sandbox Code Playgroud)

这是替代品的默认值

"search.location": "panel", 
Run Code Online (Sandbox Code Playgroud)

这会将搜索小部件作为另一个选项卡放入终端面板.

  • 对于较新版本的vscode:通过`file - > preferences - > settings`打开设置或按`ctrl +,`然后在`features - > search`将`location`改为`sidebar` (6认同)
  • 我感到很烦人的是,可以在UI中单击某些内容,这会将搜索图标从侧边栏移到面板中,但是没有任何UI可以将其以其他方式发送回去。IMO的设计不良。 (5认同)

Oma*_*era 15

在Windows中

file--> preferences-->settings
Run Code Online (Sandbox Code Playgroud)

在Mac中

preferences -> settings
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

vs代码版本1.30.2