{"id":242927,"date":"2023-05-25T08:00:56","date_gmt":"2023-05-25T15:00:56","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=242927"},"modified":"2023-05-24T11:14:02","modified_gmt":"2023-05-24T18:14:02","slug":"all-in-one-search-available-in-17-6","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/all-in-one-search-available-in-17-6\/","title":{"rendered":"All-In-One Search available in 17.6"},"content":{"rendered":"<p>The All-In-One Search experience was <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/introducing-a-new-way-to-search-your-code-and-visual-studio-features\/\">first introduced in 17.2 Previews<\/a>, and we\u2019ve 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 <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/new-better-search-in-visual-studio\/\">previous blog post<\/a>.<\/p>\n<p>Now we\u2019re ready to share it more broadly in the 17.6 release of Visual Studio! We\u2019d appreciate any feedback you can provide on <a href=\"https:\/\/developercommunity.visualstudio.com\/t\/Improve-Visual-Studio-All-In-One-Search\/10333885\">this Developer Community ticket<\/a>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-17.6ga.png\"><img decoding=\"async\" class=\"aligncenter wp-image-242940 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-17.6ga.png\" alt=\"\" width=\"768\" height=\"546\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-17.6ga.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-17.6ga-300x213.png 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/a><\/p>\n<p>The new search experience is gradually rolling out so it may not initially be on for you. To enable this feature, go to: \u201cTools &gt; Options &gt; Environment &gt; Preview Features &gt; New Visual Studio Search Experience\u201d.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-preview-flag.jpg\"><img decoding=\"async\" class=\"aligncenter wp-image-242941 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-preview-flag.jpg\" alt=\"\" width=\"774\" height=\"513\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-preview-flag.jpg 774w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-preview-flag-300x199.jpg 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-preview-flag-768x509.jpg 768w\" sizes=\"(max-width: 774px) 100vw, 774px\" \/><\/a><\/p>\n<p>After doing that, and restarting Visual Studio, you\u2019ll now see the new search button appear in the title bar, as shown in the screenshot below.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-button.png\"><img decoding=\"async\" class=\"aligncenter wp-image-242943 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-button.png\" alt=\"\" width=\"449\" height=\"123\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-button.png 449w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-button-300x82.png 300w\" sizes=\"(max-width: 449px) 100vw, 449px\" \/><\/a><\/p>\n<p>You can use the button to open search, or just remember <em>Ctrl+T<\/em> for code search and <em>Ctrl+Q<\/em> for feature search.<\/p>\n<p>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.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"96\"><strong>Filter<\/strong><\/td>\n<td width=\"264\"><strong>Prefix: <\/strong><\/p>\n<p><em>Add this before your query.<\/em><\/td>\n<td width=\"264\"><strong>Keyboard shortcut:<\/strong><\/p>\n<p><em>Open the search window with the corresponding filter selected.<\/em><\/td>\n<\/tr>\n<tr>\n<td width=\"96\">files<\/td>\n<td width=\"264\">f:<\/td>\n<td width=\"264\">Ctrl+Shift+T<\/td>\n<\/tr>\n<tr>\n<td width=\"96\">types<\/td>\n<td width=\"264\">t:<\/td>\n<td width=\"264\">Ctrl+1, Ctrl+T<\/td>\n<\/tr>\n<tr>\n<td width=\"96\">members<\/td>\n<td width=\"264\">m:<\/td>\n<td width=\"264\">Alt+\\<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/visualstudio.microsoft.com\/vs\/\" target=\"_blank\">Download Visual Studio 2022<\/a><\/div><\/p>\n<h2>New in 17.6<\/h2>\n<p>Based on feedback from previews and 17.5, we\u2019ve made some updates to the search experience.<\/p>\n<ul>\n<li><strong>Results on 2 lines:<\/strong> 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.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-2-lines.png\"><img decoding=\"async\" class=\"aligncenter wp-image-242933 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-2-lines.png\" alt=\"\" width=\"768\" height=\"192\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-2-lines.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-2-lines-300x75.png 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/a><\/p>\n<ul>\n<li><strong>Preview at bottom:<\/strong> Showing the preview on the right side of the window doesn\u2019t 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.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-bottom-preview.png\"><img decoding=\"async\" class=\"alignleft wp-image-242934 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-bottom-preview.png\" alt=\"\" width=\"768\" height=\"258\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-bottom-preview.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-bottom-preview-300x101.png 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/a><\/p>\n<ul>\n<li><strong><a href=\"https:\/\/developercommunity.visualstudio.com\/t\/Code-Search-should-remember-size-locati\/10269356\">Saved size, location, preview state<\/a>: <\/strong>It\u2019s 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.<\/li>\n<\/ul>\n<p><video controls=\"controls\" width=\"700\" height=\"auto\"><source src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2023\/05\/aios-save-state.mp4\" type=\"video\/mp4\" \/><\/video><\/p>\n<h2>Let us know what you think!<\/h2>\n<p>Share your ideas and feedback on the new search experience on <a href=\"https:\/\/developercommunity.visualstudio.com\/t\/Improve-Visual-Studio-All-In-One-Search\/10333885\">this Developer Community ticket<\/a>.<\/p>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/visualstudio.microsoft.com\/vs\/\" target=\"_blank\">Download Visual Studio 2022<\/a><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The All-In-One Search experience was first introduced in 17.2 Previews, and we\u2019ve 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 [&hellip;]<\/p>\n","protected":false},"author":105708,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[6879,1404],"class_list":["post-242927","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-editor","tag-search"],"acf":[],"blog_post_summary":"<p>The All-In-One Search experience was first introduced in 17.2 Previews, and we\u2019ve 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 [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/242927","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/105708"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=242927"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/242927\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=242927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=242927"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=242927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}