VSCode 查找/替换历史记录

发布于 2025-01-11 05:00:24 字数 389 浏览 0 评论 0原文

刚接触 VSCode,请注意,没有以前查找/替换字符串的下拉历史记录。我还致力于通过扩展来找到此功能。

我用过的大多数编辑器都有这个功能,所以我发现它的缺失很明显。

我在 github 上看到了完全相同且类似的功能请求,但遗憾的是,它在关闭之前永远无法及时获得所需的 20 多个投票。我准备打开另一个功能请求,但是打开新功能请求时的说明状态

所以我不确定协议。这仅意味着有效门票吗?

已关闭的功能请求获得了 9 票,因此引起了一些兴趣。

New to VSCode and notice there's not a dropdown history of previous find/replace strings. I am also striking out on finding this functionality via extensions.

Most every editor I've ever used has had this, so I find its absence conspicuous.

I see exact and similar feature requests on github, but alas it could never get the required 20+ votes in time before it was closed. I was prepared to open another feature request, but the directions when opening a new feature request state

<!-- Please search existing issues to avoid creating duplicates. -->

so I'm uncertain of the protocol. Does this only mean active tickets?

The closed feature request garnered 9 votes, so there was some interest.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

梦亿 2025-01-18 05:00:24

向上/向下光标提示仅在每个会话中有效,因此仅当您已经完成搜索时才有效。我也经常在会话之间使用正则表达式,因此我必须打开一个包含我的模式的记事本文件,然后将它们复制到搜索/替换窗口。皇家之痛。

我同意,应该有一个下拉菜单。

The up/down cursor prompt only works per session and hence, only if you have already done a search. I too use a regular expression routinely from session to session, so I have to open up a notepad file that has my patterns then copy them to the search/replace window. Royal pain.

And I agree, there should be a drop-down.

深海夜未眠 2025-01-18 05:00:24

使用向上和向下箭头。有占位符文本提到这一点 - 请参阅 gif - 但很容易错过。虽然不如下拉菜单那么好,因为您必须循环浏览最近的条目。

查找并替换历史记录

Use the up and down arrows. There is placeholder text to mention this - see the gif - but it is easy to miss. Not as nice as a dropdown though as you have to cycle through recent entiries.

find and replace history

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文