简体   繁体   English

Vscode“下一个搜索结果”快捷方式不起作用

[英]Vscode “next search result” shortcut does not work

When I use the shortcut associated with "search.action.focusNextSearchResult" in vscode while searching something nothing happens.当我在 vscode 中使用与“search.action.focusNextSearchResult”相关联的快捷方式搜索某些东西时,什么也没有发生。

This action is initially associated with F4 which is also used for other shortcuts.此操作最初与 F4 相关联,F4 也用于其他快捷方式。 I thought it may be the problem so I reassigned it to an unused shortcut but it did not help.我认为这可能是问题,所以我将它重新分配给一个未使用的快捷方式,但它没有帮助。

I am using the extension "Emacs Friendly Keymap" (don't know if it can cause the problem).我正在使用扩展“Emacs Friendly Keymap”(不知道它是否会导致问题)。

Do you know how I could make it work?你知道我怎样才能让它工作吗?

That shortcut, used to go to the next search result, only works in a search editor .该快捷方式用于 go 到下一个搜索结果,仅适用于搜索编辑器 It has these context keys:它具有以下上下文键:

hasSearchResult || inSearchEditor

Are you using it in a separate search editor?您是否在单独的搜索编辑器中使用它? It does work there.它确实在那里工作。 Here is one way to open a Search Editor :这是打开Search Editor的一种方法:

打开搜索编辑器

If you are using the Find widget then use either of these:如果您使用的是 Find 小部件,请使用以下任一方法:

Enter when focus is still in the Find widget or F3 when focus is in the editor.当焦点仍在“查找”小部件中时输入,或者当焦点在编辑器中时按F3

If you are doing a search across files, then just a downarrow will go to the next result.如果您正在跨文件进行搜索,那么只需一个向下箭头go到下一个结果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 VSCode 搜索 - 关闭活动结果而不关注下一个结果 - VSCode Search - dismiss active result not focusing next result “在搜索结果窗格中转到下一个搜索结果”的 vscode 键绑定? - vscode key binding for "goto next search result on the search results pane"? Go 到 VSCode 中的下一个方法快捷方式 - Go to next method shortcut in VSCode 复制/粘贴的快捷方式在 VSCode 中不起作用 - Shortcut for Copy/Paste not work in VSCode 是否有一个 VSCode 快捷方式可以告诉我下一个快捷方式运行什么命令? - Is there a VSCode shortcut which tells me what command the next shortcut runs? 在 VSCode 的大纲面板中选择上一个或下一个项目的快捷方式 - Shortcut for selecting previous or next item in outline panel in VSCode 在 VScode 中,有没有办法通过快捷方式每两三行 go 下一行? - In VScode, is there a way to go next line per two or three with shortcut? “将表达式结果分配给新的局部变量”的 VSCode 键盘快捷键? - VSCode keyboard shortcut for 'Assign expression result to new local variable'? 用于从搜索栏导航到突出显示的选择的 VSCode 键盘快捷键 - VSCode keyboard shortcut to navigate from search bar to highlighted selection vscode中的“在项目中查找”/“在项目中搜索”键盘快捷键是什么? - What is the 'Find in Project' / 'Search in Project' keyboard shortcut in vscode?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM