The All-In-One Search experience was first introduced in 17.2 Previews, and we’ve been refining its quality since. The new search merges code and feature search capabilities into one UI, so you can go to one place to find the things you need. Real-time results and a preview of the results speed up the process to get you to the right place. You can learn more from this previous blog post.
Now we’re ready to share it more broadly in the 17.6 release of Visual Studio! We’d appreciate any feedback you can provide on this Developer Community ticket.
The new search experience is gradually rolling out so it may not initially be on for you. To enable this feature, go to: “Tools > Options > Environment > Preview Features > New Visual Studio Search Experience”.
After doing that, and restarting Visual Studio, you’ll now see the new search button appear in the title bar, as shown in the screenshot below.
You can use the button to open search, or just remember Ctrl+T for code search and Ctrl+Q for feature search.
To quickly get a filtered experience, you can type the corresponding prefixes before your query or use the corresponding keyboard shortcuts to open the search with the filter selected.
Filter | Prefix:
Add this before your query. |
Keyboard shortcut:
Open the search window with the corresponding filter selected. |
files | f: | Ctrl+Shift+T |
types | t: | Ctrl+1, Ctrl+T |
members | m: | Alt+\ |
New in 17.6
Based on feedback from previews and 17.5, we’ve made some updates to the search experience.
- Results on 2 lines: Long paths and matches would get cut off, making it hard to compare results. Each result now has more breathing room by taking up 2 lines of space.
- Preview at bottom: Showing the preview on the right side of the window doesn’t give enough room to see the code. The default preview layout is now set to the bottom, providing ample horizontal room to see each line.
- Saved size, location, preview state: It’s tedious to change the layout of the search window for each session. The window size, location, and selected preview state (off, right, bottom) persist from the last session of Visual Studio. You can set up the window to fit your work style.
Let us know what you think!
Share your ideas and feedback on the new search experience on this Developer Community ticket.
I’ve tried it and decided not to use it. Until it can complete with Visual Assist in the speed of looking up symbols it’s a non starter. It’s just way too slow.
Looks cool 👍
It looks really good, and also is alot faster than when previously announced. But it is still much slower than the “old search experience”
Please can you enable this window to be docked! A floating window is always on top of something I want to see. The new search looks promising, but it won’t become part of my daily workflow if I can’t dock the window. Thank you.
Thanks for the suggestion, Paul! I’ve copied your comment over to the suggestion ticket All-In-One Search should be dockable so our team can keep track of all the relevant feedback.
New search experience looks good, just need to be really, really fast as previous search speed was, softly said, atrocious 🙁
Thanks for sharing, Georgi! We're always on the lookout for how we can improve the performance. If you're encountering any specific issues or discrepancies, it'd be helpful for us if you follow the instructions on this page (https://learn.microsoft.com/en-us/visualstudio/ide/how-to-report-a-problem-with-visual-studio?view=vs-2022) to share your logs and any other info with us.