gpt4 book ai didi

visual-studio-code - VS Code 有搜索历史记录功能吗?

转载 作者:行者123 更新时间:2023-12-01 18:05:41 27 4
gpt4 key购买 nike

在 VS Code 中,我无法重新运行先前的搜索。搜索中的命中通常会导致我通过进行新的搜索来快速查看其他内容,但在那次旁路之后,我希望能够返回到原始搜索结果。该功能是否隐藏在显而易见的地方,或者如果没有,是否有提供它的扩展?

最佳答案

当搜索面板输入焦点在最近的搜索词之间循环时,

Alt-向上/向下翻页将在 Windows 上运行。但它们不一定会返回实际的搜索结果,但您无论如何也不必重新输入搜索词。

2018 年 6 月添加:

从 v1.24 开始,您可以对替换条款执行相同的操作:

Replace term history in Search view

You can now navigate to your previous replace terms in the Search View.

Alt+Up navigates backward in the history.

Corresponding command is search.replaceHistory.showPrevious.

Alt+Down navigates forward in the history.

Corresponding command is search.replaceHistory.showNext.

来自May, 2018 release notes: replace term history

关于visual-studio-code - VS Code 有搜索历史记录功能吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50068744/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com