Visual Studio:是否对整个解决方案进行增量搜索? [英] Visual Studio: Is there an incremental search for the entire solution?

查看:91
本文介绍了Visual Studio:是否对整个解决方案进行增量搜索?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我非常喜欢Visual Studio中内置的键盘快捷键.我的最爱之一是 Ctrl + i ,它会触发增量搜索.当我填写搜索词时,它会跳过当前文档中的文本.键入所需的搜索词后,我使用 F3 跳过匹配项.

I am very fond of the keyboard shortcuts built into Visual Studio. One of my favorites is Ctrl+i, which triggers the incremental search. It jumps over the text in the current document as I fill in the searchword. After the desired searchword is typed, I use F3 to jump through the matches.

工作正常,但仅限于在当前文档中搜索.另外,触发增量搜索,将Find And Replace对话框中的Look In选项自动更改为当前文档.

It works fine, except that is is limited to searching in the current document. Also, triggering incremental search, automatically changes the Look In option in the Find And Replace dialog to Current Document.

是否在整个解决方案中进行增量搜索?有键盘快捷键吗?还是至少有一种方法可以防止使用增量搜索来更改查找范围"选项?

Is there an incremental search for the entire solution? Is there a keyboard shortcut for it? Or at the very least is there a way to prevent an usage of incremental search from changing the Look In option?

推荐答案

我使用文件中的 Ctrl - Shift - F .获得结果列表后,您可以按 F8 Shift - F8 循环浏览它们. Ctrl - I 不会影响此搜索的范围.

I use Ctrl-Shift-F which is Find in Files. Once I get a list of results, you can hit F8 and Shift-F8 to cycle through them. Ctrl-I does not affect the scope of this search.

此外,在找到与 Ctrl - I 的第一个匹配项后,您不必打 F3 ,就可以只需按 Ctrl - I Ctrl - Shift - I 即可循环浏览匹配.

Also, after you've found your first match with Ctrl-I, you don't have to hit F3, you can just hit Ctrl-I and Ctrl-Shift-I to cycle through the matches.

此外,跳转到特定文件或类的快速方法是使用

In addition, a quick way to jump to a specific file or class is to use something like SonicFileFinder

这篇关于Visual Studio:是否对整个解决方案进行增量搜索?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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