简体   繁体   中英

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. prnt.sc/rue85b 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.

  1. Go to Tools\Options
  2. Navigate to Environment\Keyboard
  3. Under "Show commands containing", type Edit.FindinFiles
  4. Under "Press shortcut keys", press the desired keyboard shortcut (ie in your case Ctrl+F)
  5. Click Assign and then OK

See screenshot here

  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/a/63789479

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM