How to enable visual studio find results window with “advanced features”?

我的梦境 提交于 2021-01-28 14:26:32

问题


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).

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.

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.

For the second window, I tried to reset VS settings (ToolsImport 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.

I really want to reset VS settings, but I cannot lose the features provided by the first Find result window.

Question: How to enable that window?

Sub question if I may - the reason I want to reset VS settings is that changes I make in Text EditorC#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 Version: Enterprise 2019, 16.6.5


回答1:


  1. Tools > Options > Environment > Preview Features > Check "Use Previous Find in Files"
  2. Ctrl+Shift+F > Open Result options > Select "Find results table"
  3. Close the Find and Replace tool window and revert the aforementioned "Use Previous Find in Files" setting (optional)
  4. Perform a search (either Find in Files or simply through the standard Ctrl+F find prompt)

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.



来源:https://stackoverflow.com/questions/63305356/how-to-enable-visual-studio-find-results-window-with-advanced-features

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!