禁用“搜索换行"在 VS 代码中 [英] Disable "search wrap" in VS Code

查看:38
本文介绍了禁用“搜索换行"在 VS 代码中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在 VS 代码中禁用搜索包装"?

即阻止搜索在到达文件中搜索词的最后一次出现后再次从顶部开始?

解决方案

UPDATE !!

一个设置被添加到 v1.45 以禁用搜索包装".请参阅https://github.com/microsoft/vscode/pull/92243><块引用>

编辑器 > 查找:循环

默认启用,它将循环或换行.

<小时>

---------------- 旧答案:

不,显然不是.请参阅此问题:禁用搜索换行.由于在 2018 年缺乏兴趣,该问题已关闭.

Is there a way to disable "search wrapping" in VS code?

I.e. prevent the search from starting back at the top again after reaching the last occurrence of the search term in the file?

解决方案

UPDATE !!

A setting is being added to v1.45 to disable "search wrapping". See https://github.com/microsoft/vscode/pull/92243

Editor > Find: Loop

default is enabled, it will loop or wrap.


---------------- old answer:

No, apparently not. See this issue: disable search wrap. That issue was closed due to lack of interest in 2018.

这篇关于禁用“搜索换行"在 VS 代码中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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