{"id":12085,"date":"2016-11-16T13:01:01","date_gmt":"2016-11-16T20:01:01","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/?p=12085"},"modified":"2019-02-18T18:04:33","modified_gmt":"2019-02-18T18:04:33","slug":"introducing-go-to-the-successor-to-navigate-to","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/introducing-go-to-the-successor-to-navigate-to\/","title":{"rendered":"Introducing Go To, the successor to Navigate To"},"content":{"rendered":"<p><a href=\"https:\/\/www.visualstudio.com\/vs\/visual-studio-2017-rc\">Visual Studio 2017<\/a> comes packed with several major changes to the core developer productivity experience. It is our goal to maximize your efficiency as you develop applications, and this requires us to constantly refine our features and improve on them over time. For Visual Studio 2017, we wanted to improve code navigation, particularly for larger solutions which produce many search results. One big focus for us was Navigate To (now known as Go To). The other was Find All References, <a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2016\/11\/16\/find-all-references-re-designed-for-larger-searches\">described in a separate blog post<\/a>. <\/p>\n<p>We rebranded our Navigate To feature to Go To, an umbrella term for a set of filtered navigation experiences around specific kinds of results. We recognized that large searches sometimes produced cases where the desired search term is quite far down the list. With our new filters, it is easier to narrow down on the desired result before the search process has even begun.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/Go-To-UI.png\" alt=\"Go To User Interface\" class=\"alignnone size-medium wp-image-12095\" \/><em>The new Go To experience with added filters<\/em><\/p>\n<p>You can open Go To with <strong>Ctrl + ,<\/strong> &#8211; this creates a search box over the document you are editing. \u201cGo To\u201d is an umbrella term encompassing the following features: <\/p>\n<ol>\n<li><strong>Go To Line (Ctrl +G)<\/strong> \u2013 quickly jump to a different line in your current document\n<li><strong>Go To All (Ctrl + ,) or (Ctrl + T)<\/strong> \u2013 similar to old Navigate To experience, search results include everything below\n<li><strong>Go To File (Ctrl 1, F)<\/strong> \u2013 search for files in your solution\n<li><strong>Go To Type (Ctrl 1, T)<\/strong> \u2013 search results include:\n<ul>\n<li>Classes, Structs, Enums\n<li>Interfaces &amp; Delegates (managed code only)<\/ul>\n<li><strong>Go To Member (Ctrl 1, M)<\/strong> \u2013 search results include:\n<ul>\n<li>Global variables and global functions\n<li>Class member variables and member functions\n<li>Constants\n<li>Enum Items\n<li>Properties and Events<\/ul>\n<li><strong>Go To Symbol (Ctrl 1, S)<\/strong> \u2013 search results include:\n<ul>\n<li>Results from <em>Go To Types<\/em> and <em>Go To Members<\/em>\n<li>All remaining C++ language constructs, including macros<\/ul>\n<\/ol>\n<p>When you first invoke Go To with <strong>Ctrl + ,<\/strong> <em>Go To All<\/em> is activated (no filters on search results). You can then select your desired filter using the buttons near the search textbox. Alternatively, you can invoke a specific Go To filter using its corresponding keyboard shortcut. Doing so opens the Go To search box with that filter pre-selected. All keyboard shortcuts are configurable, so feel free to experiment! <\/p>\n<p>You also have the option of using text filters to activate different Go To filters. To do so, simply start your search query with the filter&#8217;s corresponding character followed by a space. Go To Line can optionally omit the space. These are the available text filters: <\/p>\n<ul>\n<li>Go To All \u2013 (no text filter)\n<li>Go To Line Number \u2013 :\n<li>Go To File \u2013 f\n<li>Go To Type \u2013 t\n<li>Go To Member \u2013 m\n<li>Go To Symbol \u2013 #<\/ul>\n<p>If you forget these text filters, just type a <strong>?<\/strong> followed by a space to see the full list. <\/p>\n<p>Another way to access the Go To commands is via the Edit menu. This is also a good way to remind yourself of the main Go To keyboard shortcuts.  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/Go-To-menu.png\" alt=\"go-to-menu\" class=\"alignnone size-medium wp-image-12105\" \/><\/p>\n<p>Other notable changes to the old Navigate To (now Go To) experience: <\/p>\n<ul>\n<li>Two toggle buttons were added to the right of the filters:\n<ul>\n<li>A new button that limits searches to the current active document in the IDE.\n<li>A new button that expands searches to include results from external dependencies in search results (previously was a checkbox setting).<\/ul>\n<li>The settings for Go To have been moved from the arrow beside the textbox to their own \u201cgear icon\u201d button. The arrow still displays a history of search results. A new setting was added that lets you center the Go To search box in your editor window. <\/ul>\n<p>We hope the new Go To feature with its set of filters provide a more advanced and tailored code navigation experience for you. If you\u2019re interested in other productivity-related enhancements in Visual Studio 2017, check out this additional content: <\/p>\n<ul>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/c-intellisense-improvements-predictive-intellisense-filtering\/\">C++ IntelliSense Improvements \u2013 Predictive IntelliSense &amp; Filtering<\/a>\n<li><a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2016\/11\/16\/find-all-references-re-designed-for-larger-searches\">Find All References re-designed for larger searches<\/a>\n<li><a href=\"https:\/\/channel9.msdn.com\/events\/connect\/2016\/128\">Video: C++ Productivity Improvements in Visual Studio 2017<\/a><\/ul>\n<h3>Send us your feedback!<\/h3>\n<p>We thrive on your feedback. Use the report a problem feature in the IDE to share feedback on Visual Studio and check out the <a href=\"https:\/\/developercommunity.visualstudio.com\/index.html\">developer community portal view<\/a>. If you are not using the Visual Studio IDE, report issues using the <a href=\"https:\/\/connect.microsoft.com\/VisualStudio\/Feedback\/LoadSubmitFeedbackForm?FormID=6410\">Connect Form for reporting issues<\/a>.  Share your product improvement suggestions on <a href=\"http:\/\/visualstudio.uservoice.com\/forums\/121579-visual-studio\">UserVoice<\/a>. <\/p>\n<h4><a href=\"https:\/\/www.visualstudio.com\/vs\/visual-studio-2017-rc\">Download Visual Studio 2017 RC<\/a> to try out this feature for yourself!<\/h4>\n","protected":false},"excerpt":{"rendered":"<p>Visual Studio 2017 comes packed with several major changes to the core developer productivity experience. It is our goal to maximize your efficiency as you develop applications, and this requires us to constantly refine our features and improve on them over time. For Visual Studio 2017, we wanted to improve code navigation, particularly for larger [&hellip;]<\/p>\n","protected":false},"author":1063,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[270,1],"tags":[],"class_list":["post-12085","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcement","category-cplusplus"],"acf":[],"blog_post_summary":"<p>Visual Studio 2017 comes packed with several major changes to the core developer productivity experience. It is our goal to maximize your efficiency as you develop applications, and this requires us to constantly refine our features and improve on them over time. For Visual Studio 2017, we wanted to improve code navigation, particularly for larger [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/12085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/1063"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=12085"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/12085\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35994"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=12085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=12085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=12085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}