{"id":251794,"date":"2024-12-31T05:00:22","date_gmt":"2024-12-31T13:00:22","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=251794"},"modified":"2024-12-16T12:16:20","modified_gmt":"2024-12-16T20:16:20","slug":"dock-the-code-search-window-in-visual-studio-2022","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/dock-the-code-search-window-in-visual-studio-2022\/","title":{"rendered":"Dock the Code Search window in Visual Studio 2022"},"content":{"rendered":"<p>Ever felt frustrated with the search window cluttering your workspace? The latest feature in Visual Studio 2022 gives you more control over the behavior of the Code and Feature Search window, making your search experience smoother and more efficient.<\/p>\n<p><img decoding=\"async\" width=\"1200\" height=\"662\" class=\"wp-image-251797\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/search-docked-below-the-editor-.png\" alt=\"Search docked below the editor.\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/search-docked-below-the-editor-.png 1200w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/search-docked-below-the-editor--300x166.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/search-docked-below-the-editor--1024x565.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/search-docked-below-the-editor--768x424.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>Some users have shared that the search window feels intrusive, interrupting your work by appearing mid-screen or on the wrong screen and taking up precious screen real estate. You now have the <a id=\"post-251794-_Int_AXEdxsZv\"><\/a>option to turn the search window into a tool window and dock it where you\u2019d like.<\/p>\n<h1>Choose how you want your search window<\/h1>\n<p>Visual Studio now allows you to dock the search window and perform various tool window actions, like Solution Explorer and other tool windows. The window will continue to pop up by default, but you can now dock, pop out, or auto-hide the search window as a tool window.<\/p>\n<p>After launching Code Search (Ctrl+T or Ctrl+,) or Feature Search (Ctrl+Q), click the box icon with an arrow at the top right of the window. This icon transforms the search window into a versatile tool window, which you can then dock anywhere in your interface and organize your workspace as you like.<\/p>\n<p><img decoding=\"async\" width=\"1200\" height=\"399\" class=\"wp-image-251798\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/switch-to-a-docking-window-button-next-to-hide-or.png\" alt=\"Switch to a docking window button next to Hide or Show preview button\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/switch-to-a-docking-window-button-next-to-hide-or.png 1200w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/switch-to-a-docking-window-button-next-to-hide-or-300x100.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/switch-to-a-docking-window-button-next-to-hide-or-1024x340.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/switch-to-a-docking-window-button-next-to-hide-or-768x255.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>If you try it out and decide this feature isn\u2019t for you, you can go back to the popup version of the window by clicking on the box icon with a rectangle.<\/p>\n<p><img decoding=\"async\" width=\"735\" height=\"312\" class=\"wp-image-251799\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/switch-to-a-popup-window-button-next-to-hide-or-sh.png\" alt=\"Switch to a popup window button next to Hide or Show preview button\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/switch-to-a-popup-window-button-next-to-hide-or-sh.png 735w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/switch-to-a-popup-window-button-next-to-hide-or-sh-300x127.png 300w\" sizes=\"(max-width: 735px) 100vw, 735px\" \/><\/p>\n<h1>Streamlined previewing experience<\/h1>\n<p>We\u2019ve also simplified the previewing experience within the search window. The interface has been simplified and cleaned up, providing a more user-friendly experience. A single button, marked with an eye icon, allows you to toggle the preview panel on and off.<\/p>\n<p><img decoding=\"async\" width=\"1200\" height=\"399\" class=\"wp-image-251800\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/hide-or-show-preview-button.png\" alt=\"Hide or Show preview button\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/hide-or-show-preview-button.png 1200w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/hide-or-show-preview-button-300x100.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/hide-or-show-preview-button-1024x340.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/hide-or-show-preview-button-768x255.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>Moreover, the preview panel&#8217;s position will now automatically adjust based on the dimensions of the search window, ensuring a seamless and adaptable viewing experience.<\/p>\n<p><img decoding=\"async\" width=\"1200\" height=\"661\" class=\"wp-image-251801\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/preview-panel-is-below-results-list-with-search-wi.png\" alt=\"Preview panel is below results list with search window docked right\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/preview-panel-is-below-results-list-with-search-wi.png 1200w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/preview-panel-is-below-results-list-with-search-wi-300x165.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/preview-panel-is-below-results-list-with-search-wi-1024x564.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/12\/preview-panel-is-below-results-list-with-search-wi-768x423.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<h1>We appreciate your feedback<\/h1>\n<p>We are deeply grateful for the continuous feedback from our dedicated users, which plays a crucial role in making Visual Studio better with each update. Your input helps us refine and enhance the features that matter most to you.<\/p>\n<p>Thank you for being an integral part of the Visual Studio community. We can&#8217;t wait for you to experience the improved search window control in Visual Studio 2022!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever felt frustrated with the search window cluttering your workspace? The latest feature in Visual Studio 2022 gives you more control over the behavior of the Code and Feature Search window, making your search experience smoother and more efficient. Some users have shared that the search window feels intrusive, interrupting your work by appearing mid-screen [&hellip;]<\/p>\n","protected":false},"author":105708,"featured_media":251800,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6963,155],"tags":[6964,1404],"class_list":["post-251794","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-productivity","category-visual-studio","tag-code-search","tag-search"],"acf":[],"blog_post_summary":"<p>Ever felt frustrated with the search window cluttering your workspace? The latest feature in Visual Studio 2022 gives you more control over the behavior of the Code and Feature Search window, making your search experience smoother and more efficient. Some users have shared that the search window feels intrusive, interrupting your work by appearing mid-screen [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/251794","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=251794"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/251794\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/251800"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=251794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=251794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=251794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}