How to enable visual studio find results window with "advanced features"? - settings

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 (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.
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 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 Version: Enterprise 2019, 16.6.5

It took me some time to figure out. There isn't a Find Result Window 1 and 2 anymore. After you perform a search, in the "Find" results pane, there is a "Keep Results" button. Click this button to lock the pane so that the next time you search, it will create a new "Find" results pane and keep the locked pane visible.

Tools > Options > Environment > Preview Features > Check "Use Previous Find in Files"
Ctrl+Shift+F > Open Result options > Select "Find results table"
Close the Find and Replace tool window and revert the aforementioned "Use Previous Find in Files" setting (optional)
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.

Related

Visual Studio 2019 Search History not in 'table'

Alright so I recently did a clean install of visual studio and one thing changed from last time.
With vs2019, I think, came the different looking "Search History". Here are two screens of what exactly I mean with that. New looking history and here is the old one
I'm just not sure why now I only get the old one. I found out that the new one only appears with CTRL + SHIFT + F and the older one with regular CTRL + F. Is there are way so that the default CTRL + F window displays the same output window? (the newest one)
At first I didn't really like it that much, but now I prefer it. I'm running VS2019 Version 16.5.2.
Edit: And also, this is where I used to get the table version if anyone was wondering. Now it's just this old text thing.
In the "Find in Files" tool window, ensure "Find results table" is selected, not "Find results 1 window":
You can customize the keyboard shortcut.
Go to Tools\Options
Navigate to Environment\Keyboard
Under "Show commands containing", type Edit.FindinFiles
Under "Press shortcut keys", press the desired keyboard shortcut (i.e. in your case Ctrl+F)
Click Assign and then OK
See screenshot here
Tools > Options > Environment > Preview Features > Check "Use
Previous Find in Files"
Ctrl+Shift+F > Open Result options > Select
"Find results table"
Close the Find and Replace tool window and
revert the aforementioned "Use Previous Find in Files" setting
(optional)
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/a/63789479

In Visual Studio is there a way to show both up and down (left and right) arrows in the finder at the same time?

I want to click back and forth, without using keyboard commands and without first clicking the down arrow to reveal one or the other. I just want to see both arrows at once.
No, you cannot do what you want with the Find window in the current 15.9.x version of Visual Studio 2017.
However, if you hit <Ctrl><Shift>-F, you will see the Find and Replace window. If you set Look in to Current Document, then it will behave just like the Find window--except this window displays Find Previous and Find Next buttons--exactly what you want.

Can I search the available Context Menu Commands in Visual Studio?

If I right-click on the toolbar > click Customize > click Commands tab > then click the Context Menu radio button, there are a rather large amount of choices. Sometimes what I'm trying to find an item to add or remove, I have to wade through a lot of the choices before I finally find the item and looking for (if I even can). Sometimes the groups are not at all intuitive.
Is there any way I can search the available options in all categories? In Visual Studio itself, or even an extension.
Two options I use:
If you're trying to search for something specific, Quick Launch
should be pretty useful to you. CTRL+Q will take you to it or just
type in the text box in the top right of the main VS window.
Another option that comes to mind: go to Tools->Customize and click
on the Keyboard button. That has a search box for commands that
can also be useful. Tip: make the window bigger to make the list
larger.

How to display both Find Next and Find Previous buttons in Quick Find in Visual Studio 2013?

By default -> Find Next and <- Find Previous should be selected from DropDown. Is there any way to display them side by side without need to select from dropDown ?
Or maybe any useful extension for Quick Find exists?
I have installed Productivity Power Tools (PPT), it s enabled and working, but doesn't show its own Quick Find dialog instead of default VS2013 dialog. Is any way to prefer PPT over default?

Keep previous "find all references" results

I wonder, whether there is any way NOT to clear previous find all references results when making a next search?
If I do "find all references" once, the results will appear in "find symbol results window". I am working with a large solution, and if I do "Resolve results" it may take up to several minutes for the results to be resolved. And when I do the next "find all references", previous results will just disappear. Is there any way to keep them - just collapse - and add a new results below and so on... Anyway there is a "clear all" capability to clear the window...
In the new Visual Studio "15" Preview 5 release, our revised Find All References window supports this. Press the padlock icon/button (tooltip “Lock Results”) in the Find All References window’s toolbar, and Visual Studio will locks the results in that window, so that the next Find All References call you make will create a new Tool Window for the results. You can place the new tool window side by side with the previous result set if you wish. We’re improving labelling of this button in later releases.

Resources