如何启用具有“高级功能"的 Visual Studio 查找结果窗口? [英] How to enable visual studio find results window with "advanced features"?
问题描述
请参考this 2种查找结果窗口
我在 VS2019 中遇到过使用快速查找功能(或默认的 Ctrl+F).
Please refer to this for the 2 types of Find results window
I've encountered in VS2019 using the Quick find feature (or the default Ctrl+F).
第一张图片是一个看起来很高级的窗口,因为它对结果进行了分组(按项目、按文件),还有其他选项,如 Keep results
和 List视图
切换等
The first image is a window that seems advanced, in that it has grouping of the results (by project, by file), it has other options like the Keep results
, and List view
toggles, etc etc.
另一方面,第二张图片是一个非常简单的结果列表,没有第一张的选项/功能.
The second image on the other hand is a really plain results list, without the options/features of the first one.
对于第一个窗口,我已经不记得我是怎么做的了(我去年年初开始使用 VS2019),对于后续的 VS 安装,我只是将此与从 VS 导出的设置文件一起使用.
For the first window, I don't remember anymore how I've done it (I've started using VS2019 early last year), and for the succeeding VS installations, I'm only using this with a settings file exported from VS.
对于第二个窗口,我尝试重置 VS 设置(Tools
→ Import and Export Settings
)并选择 C#,当我使用quick find查看结果,显示的就是这种查找结果窗口.
For the second window, I tried to reset VS settings (Tools
→ Import and Export Settings
) and selected C#, and when I use quick find and see its results, it is this kind of find results window that is shown.
我真的很想重置VS设置,但我不能失去第一个查找结果窗口提供的功能.
I really want to reset VS settings, but I cannot lose the features provided by the first Find result window.
问题:如何启用该窗口?
如果可以的话 - 我想重置 VS 设置的原因是我在 Text Editor
→ C#
→ Code Style
中所做的更改> 不生效并被重置(我进行了更改,按 OK 按钮,再次打开选项窗口,并且值被恢复 - 即使在重新启动 VS 之后).可能是什么导致了这种行为?
Sub question if I may - the reason I want to reset VS settings is that changes I make in Text Editor
→ C#
→ Code Style
does not take effect and is reset (I make the changes, press OK button, open the options window again, and the values are reverted - even after restarting VS). What may have caused this behavior?
VS 版本:企业版 2019,16.6.5
VS Version: Enterprise 2019, 16.6.5
推荐答案
- 工具 >选项 >环境 >预览功能 >勾选使用以前在文件中查找"
- Ctrl+Shift+F >打开结果选项 >选择查找结果表"
- 关闭查找和替换"工具窗口并恢复前面提到的在文件中使用以前的查找"设置(可选)
- 执行搜索(在文件中查找或直接通过标准的 Ctrl+F 查找提示)
然后您的结果将出现在高级表格查找结果表"中.窗户.据推测,此设置也可以在其他地方找到,但如果不关闭在文件中查找"预览功能,我就无法找到它.
Your results will then appear in the advanced tabular "Find results table" window. Presumably this setting is also found elsewhere but I haven't been able to find it without turning off the Find in Files preview feature.
这篇关于如何启用具有“高级功能"的 Visual Studio 查找结果窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!