如何关闭 vscode 的搜索开关? [英] How to close the search toggle for vscode?

查看:57
本文介绍了如何关闭 vscode 的搜索开关?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个非常愚蠢的问题...但是我如何关闭/切换 vscode 中的搜索框?

我按 [ cmd + shift + f ] 进行全局搜索,但随后我需要使用鼠标才能真正关闭框以腾出更多屏幕空间.

我已经搜索了他们的问题,过去似乎有另一个用户也遇到过类似的事情 -->

解决方案

您的搜索结果出现在面板中而不是侧边栏中,因此如果您想关闭面板,只需按 cmd + `ctrl + `

但是,如果您希望搜索结果出现在侧边栏中(我认为这是默认行为),请将此行添加到您的设置中:

"search.location": "侧边栏"

This is an extremely stupid question... but how do I close/toggle the search box in vscode?

I hit [ cmd + shift + f ] to do a global search, but then I need to reach for my mouse to actually close the box to allow for more screen space.

I've searched through their issues, and there seems to be another user in the past who also experienced something similar --> https://github.com/Microsoft/vscode/issues/32613 , but the solution provided of cmd - b only works for closing the sidebar.

My developer speed has drastically dropped since this issue, and I'm certain there's been a fix.

Please help. :(

**added in picture here -->

解决方案

Your search results are appearing in the panel not in the sidebar, so if you want to close the panel just press cmd + ` or ctrl + `

However, if you want your search results to appear in the sidebar (which I think is the default behavior), then add this line to your settings:

"search.location": "sidebar"

这篇关于如何关闭 vscode 的搜索开关?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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