{"id":1223,"date":"2012-04-11T12:00:00","date_gmt":"2012-04-11T12:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2012\/04\/11\/improving-find-replace-in-visual-studio-11-beta\/"},"modified":"2022-10-07T14:03:58","modified_gmt":"2022-10-07T21:03:58","slug":"improving-find-replace-in-visual-studio-11-beta","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/improving-find-replace-in-visual-studio-11-beta\/","title":{"rendered":"Improving Find &amp; Replace in Visual Studio 11 Beta"},"content":{"rendered":"<p>In our <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-11-developer-preview-find-replace\/\">previous blog post<\/a>, we introduced the new Find control we are building in Visual Studio.\u00a0 Our goal was to streamline and modernize the vast array of Find experiences and provide a lightweight mechanism to search within documents. With the huge number of responses we received from the Developer Preview, we knew that our top priority for the Beta release was improving the quality of Find.\u00a0 Since the Developer Preview release, we have fixed a large number of customer reported bugs, including replace in selection not working, buttons being disabled in the find dialog, missing wrap alerts, match whole word not working, and more.\u00a0 There still are some rough edges in the Beta Find control, but we are working hard at making Find consistent and reliable for future releases.\u00a0 Along with fixing bugs, we took a hard look at addressing the top customer suggestions.\u00a0 Here are some of the top suggestions reported in the Developer Preview that are now available in Beta:<\/p>\n<ul>\n<li><b>Down arrow pops open search options\n<\/b>One of our top feedback complaints was that search options were not discoverable in the new control.\u00a0 Additionally, a number of users requested the ability to scroll through the History using the arrow keys.\u00a0 To enable both of these scenarios, we added the ability to pop open the MRU list by hitting the down arrow key.\u00a0 We hope that this change makes the search options easier to discover.<\/li>\n<\/ul>\n<blockquote><p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2012\/04\/4278.image_thumb_542D1128.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-222183\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2012\/04\/4278.image_thumb_542D1128.png\" alt=\"search options\" width=\"408\" height=\"254\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2012\/04\/4278.image_thumb_542D1128.png 408w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2012\/04\/4278.image_thumb_542D1128-300x187.png 300w\" sizes=\"(max-width: 408px) 100vw, 408px\" \/><\/a><\/p><\/blockquote>\n<ul>\n<li><b>Keyboard shortcuts\n<\/b>The support for search option shortcuts was not extensive in the Developer Preview.\u00a0 A number of customers wanted the ability to use the same shortcuts they were familiar with in VS2010 to set their search options.\u00a0 In Beta, you can now use Alt+C to toggle Match case or Alt+E to toggle regular expressions.\u00a0 You can find a full list of shortcuts in my <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-11-developer-preview-find-replace\/\">previous post<\/a>.<\/li>\n<\/ul>\n<blockquote><p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2012\/04\/1134.image_1F2081F8.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-222184\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2012\/04\/1134.image_1F2081F8.png\" alt=\"use regular expression\" width=\"267\" height=\"217\" \/><\/a><\/p><\/blockquote>\n<ul>\n<li><b>Find control is resizable\n<\/b>Making the Find control resizable was a top customer request for users who work with larger search terms, mostly common in regular expression searches.<\/li>\n<\/ul>\n<blockquote><p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2012\/04\/4760.image_thumb_1EB44F03.png\"><img decoding=\"async\" style=\"padding-left: 0px; padding-right: 0px; padding-top: 0px; border-width: 0px;\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2012\/04\/4760.image_thumb_1EB44F03.png\" alt=\"image\" width=\"344\" height=\"173\" border=\"0\" \/><\/a><\/p><\/blockquote>\n<ul>\n<li><b>Regular expression builder updates\n<\/b>The new Find supports .NET regular expressions, which has been a longstanding ask from customers.\u00a0 However, users let us know that a number of common (and easy) VS 2010 regular expressions no longer worked in the new Find.\u00a0 In the Beta Find, we have made additions to the Regular expression builder to support some of the missing patterns that you used in VS 2010.\u00a0 Click on the builder menu flyout to access these newly added regular expressions.<\/li>\n<\/ul>\n<blockquote><p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2018\/10\/3386.image_0C6B8841.png\"><img decoding=\"async\" style=\"padding-left: 0px; padding-right: 0px; padding-top: 0px; border-width: 0px;\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2018\/10\/6318.image_thumb_3743EC53.png\" alt=\"image\" width=\"700\" height=\"583\" border=\"0\" \/><\/a><\/p><\/blockquote>\n<ul>\n<li><b>Tab order\n<\/b>Another small but useful change post Developer Preview is the tab order is now consistent with the dialog.\u00a0 This is another change we pursued based off user feedback.<\/li>\n<\/ul>\n<p>Even with the improvements in the Beta Find control, there are still some noticeable bugs:<\/p>\n<ul>\n<li><b>Shared scope and options for Quick Find and Find-in-Files.\n<\/b>One of our top reported bugs is the shared scope and search options for Quick Find and Find in Files. This bug causes the scope and options to be common across the new Find control and the Find dialog. This bug fix, unfortunately, was too risky to release in Beta, but we are addressing it post-Beta.\u00a0 In the meantime, this extension (link below) should fix the issue so you can work with separate scope and search options.<\/li>\n<\/ul>\n<blockquote><p>Download: <a title=\"Download VS11_Beta_Only_FindSettingsSeparator.vsix\" href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2012\/04\/3683.clip_image002_thumb_32CD6B8C.jpg\">VS11_BETA_ONLY-FindSettingsSeparator.vsixx<\/a><\/p><\/blockquote>\n<p><b><span style=\"color: #ff0000;\">IMPORTANT:<\/span><\/b>\u00a0<b>The extension provides a workaround for the shared scope &amp; options issue. Please note that this extension can be expected to work correctly only on Beta and should be uninstalled when upgrading to future versions. This extension will not be serviced by Microsoft. If you encounter any issues after installing the extension, please uninstall and restart Visual Studio.<\/b><\/p>\n<ul><!--EndFragment--><\/p>\n<li><b>Closing documents with an active Incremental search session throws COM Exception\n<\/b>There is a bug in Find that causes a COM exception every time a document is closed with an active incremental search.\u00a0 This issue will also be addressed post-Beta. To work around this issue, incremental search should be dismissed before closing documents. ISearch can be dismissed by hitting the Esc key.\u00a0 Once this exception occurs, please re-invoke Find using Ctrl+F and perform a Find Next.\u00a0 This will restore incremental search for future operations.<\/li>\n<\/ul>\n<p>Finally, we want to thank you all for the great feedback you have been giving us.\u00a0 We are using the feedback to prioritize our work areas and we appreciate you telling us the Find pain-points. Please do continue to <a href=\"mailto:vsfindfeedback2@microsoft.com\">send us feedback<\/a> on the Beta Find experience!<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2012\/04\/3683.clip_image002_thumb_32CD6B8C.jpg\"><img decoding=\"async\" class=\"alignleft size-full wp-image-222186\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2012\/04\/3683.clip_image002_thumb_32CD6B8C.jpg\" alt=\"murali krishna hosabettu kamalesha\" width=\"99\" height=\"113\" \/><\/a><span style=\"color: #000000;\">Murali Krishna Hosabettu Kamalesha <\/span>\u2013 Program Manager, Visual Studio Editor team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our previous blog post, we introduced the new Find control we are building in Visual Studio.\u00a0 Our goal was to streamline and modernize the vast array of Find experiences and provide a lightweight mechanism to search within documents. With the huge number of responses we received from the Developer Preview, we knew that our [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[237],"class_list":["post-1223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-net"],"acf":[],"blog_post_summary":"<p>In our previous blog post, we introduced the new Find control we are building in Visual Studio.\u00a0 Our goal was to streamline and modernize the vast array of Find experiences and provide a lightweight mechanism to search within documents. With the huge number of responses we received from the Developer Preview, we knew that our [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/1223","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\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=1223"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/1223\/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=1223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=1223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=1223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}