{"id":539,"date":"2014-03-18T19:45:56","date_gmt":"2014-03-18T19:45:56","guid":{"rendered":"http:\/\/blog.wholetomato.com\/?p=539"},"modified":"2019-05-03T17:28:52","modified_gmt":"2019-05-03T21:28:52","slug":"using-find-refs-to-manage-a-task","status":"publish","type":"post","link":"https:\/\/stage.wholetomato.com\/blog\/using-find-refs-to-manage-a-task\/","title":{"rendered":"Using Find References to Manage a Task"},"content":{"rendered":"<p>Find References has been a feature of Visual Assist for about a decade. And, while Find References now shares its name with a version of the command integral to Microsoft Visual Studio, the original has pragmatic components that should make it the everyday preference.<\/p>\n<p>If during the course of programming, you find yourself reviewing or reworking the code surrounding references to a symbol, Find References in Visual Assist can be a handy tool to manage the task. Begin by invoking Find References on your target symbol, with the default Shift+Alt+F or from one of the menus that comprise Visual Assist.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesinvoke.png?ssl=1\"><img decoding=\"async\" data-attachment-id=\"544\" data-permalink=\"https:\/\/stage.wholetomato.com\/blog\/using-find-refs-to-manage-a-task\/blogfindreferencesinvoke\/\" data-orig-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesinvoke.png?fit=335%2C146&amp;ssl=1\" data-orig-size=\"335,146\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesinvoke.png?fit=300%2C131&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesinvoke.png?fit=335%2C146&amp;ssl=1\" class=\" wp-image-544 alignnone\" alt=\"\" src=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesinvoke.png?resize=335%2C146&#038;ssl=1\" width=\"335\" height=\"146\" srcset=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesinvoke.png?w=335&amp;ssl=1 335w, https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesinvoke.png?resize=300%2C131&amp;ssl=1 300w\" sizes=\"(max-width: 335px) 100vw, 335px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Confine the results to the current project or all projects, as appropriate.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesprojects.png?ssl=1\"><img decoding=\"async\" data-attachment-id=\"543\" data-permalink=\"https:\/\/stage.wholetomato.com\/blog\/using-find-refs-to-manage-a-task\/blogfindreferencesprojects\/\" data-orig-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesprojects.png?fit=601%2C99&amp;ssl=1\" data-orig-size=\"601,99\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesprojects.png?fit=300%2C49&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesprojects.png?fit=601%2C99&amp;ssl=1\" class=\" wp-image-543 alignnone\" alt=\"\" src=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesprojects.png?resize=601%2C99&#038;ssl=1\" width=\"601\" height=\"99\" srcset=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesprojects.png?w=601&amp;ssl=1 601w, https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesprojects.png?resize=300%2C49&amp;ssl=1 300w, https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesprojects.png?resize=360%2C59&amp;ssl=1 360w\" sizes=\"(max-width: 601px) 100vw, 601px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Clone the results window so you can invoke additional Find References without overwriting your original results.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesclone.png?ssl=1\"><img decoding=\"async\" data-attachment-id=\"542\" data-permalink=\"https:\/\/stage.wholetomato.com\/blog\/using-find-refs-to-manage-a-task\/blogfindreferencesclone\/\" data-orig-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesclone.png?fit=601%2C99&amp;ssl=1\" data-orig-size=\"601,99\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesclone.png?fit=300%2C49&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesclone.png?fit=601%2C99&amp;ssl=1\" class=\"alignnone size-full wp-image-542\" alt=\"\" src=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesclone.png?resize=601%2C99&#038;ssl=1\" width=\"601\" height=\"99\" srcset=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesclone.png?w=601&amp;ssl=1 601w, https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesclone.png?resize=300%2C49&amp;ssl=1 300w, https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesclone.png?resize=360%2C59&amp;ssl=1 360w\" sizes=\"(max-width: 601px) 100vw, 601px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>You can identify a cloned window by its title and lack of &#8220;Highlight All&#8221; checkbox.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesresults.png?ssl=1\"><img decoding=\"async\" data-attachment-id=\"541\" data-permalink=\"https:\/\/stage.wholetomato.com\/blog\/using-find-refs-to-manage-a-task\/blogfindreferencesresults\/\" data-orig-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesresults.png?fit=546%2C132&amp;ssl=1\" data-orig-size=\"546,132\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesresults.png?fit=300%2C73&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesresults.png?fit=546%2C132&amp;ssl=1\" class=\"alignnone size-full wp-image-541\" alt=\"\" src=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesresults.png?resize=546%2C132&#038;ssl=1\" width=\"546\" height=\"132\" srcset=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesresults.png?w=546&amp;ssl=1 546w, https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesresults.png?resize=300%2C73&amp;ssl=1 300w, https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesresults.png?resize=360%2C87&amp;ssl=1 360w\" sizes=\"(max-width: 546px) 100vw, 546px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>If you plan extensive modifications to the code surrounding your target references, make sure &#8220;Allow navigation to stale results&#8221; is enabled in the context menu of your cloned results window. The setting tells Visual Assist to jump to locations even if you&#8217;ve already removed the references from them. (Without the setting, Visual Assist places you to the top of a target file when it can&#8217;t locate a reference.)<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesstale.png?ssl=1\"><img decoding=\"async\" data-attachment-id=\"545\" data-permalink=\"https:\/\/stage.wholetomato.com\/blog\/using-find-refs-to-manage-a-task\/blogfindreferencesstale\/\" data-orig-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesstale.png?fit=277%2C33&amp;ssl=1\" data-orig-size=\"277,33\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesstale.png?fit=277%2C33&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesstale.png?fit=277%2C33&amp;ssl=1\" class=\"alignnone size-full wp-image-545\" alt=\"\" src=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesstale.png?resize=277%2C33&#038;ssl=1\" width=\"277\" height=\"33\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Double-click or select entries to jump to references, and\u00c2\u00a0review or rework your code as necessary.<\/p>\n<p>Mark entries &#8220;done&#8221; by deleting them from your cloned results window. And don&#8217;t fret, &#8220;deleting&#8221; doesn&#8217;t modify your source.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesdelete.png?ssl=1\"><img decoding=\"async\" data-attachment-id=\"546\" data-permalink=\"https:\/\/stage.wholetomato.com\/blog\/using-find-refs-to-manage-a-task\/blogfindreferencesdelete\/\" data-orig-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesdelete.png?fit=277%2C64&amp;ssl=1\" data-orig-size=\"277,64\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesdelete.png?fit=277%2C64&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesdelete.png?fit=277%2C64&amp;ssl=1\" class=\"alignnone size-full wp-image-546\" alt=\"\" src=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesdelete.png?resize=277%2C64&#038;ssl=1\" width=\"277\" height=\"64\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Refresh the cloned results window only if you make extensive changes to your source and you&#8217;re not deleting entries. Although a refresh will update your locations, it will also restore &#8220;deleted&#8221; entries.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesrefresh.png?ssl=1\"><img decoding=\"async\" data-attachment-id=\"553\" data-permalink=\"https:\/\/stage.wholetomato.com\/blog\/using-find-refs-to-manage-a-task\/blogfindreferencesrefresh\/\" data-orig-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesrefresh.png?fit=550%2C99&amp;ssl=1\" data-orig-size=\"550,99\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesrefresh.png?fit=300%2C54&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesrefresh.png?fit=550%2C99&amp;ssl=1\" class=\"alignnone size-full wp-image-553\" alt=\"\" src=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesrefresh.png?resize=550%2C99&#038;ssl=1\" width=\"550\" height=\"99\" srcset=\"https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesrefresh.png?w=550&amp;ssl=1 550w, https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesrefresh.png?resize=300%2C54&amp;ssl=1 300w, https:\/\/i0.wp.com\/stage.wholetomato.com\/blog\/wp-content\/uploads\/2014\/03\/blogfindreferencesrefresh.png?resize=360%2C65&amp;ssl=1 360w\" sizes=\"(max-width: 550px) 100vw, 550px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Close the cloned window when you&#8217;ve finished your review or rework.<\/p>\n<p>Finally, explore the other components of\u00c2\u00a0<a title=\"Find References\" href=\"http:\/\/docs.wholetomato.com\/default.asp?W189\">Find References<\/a> integral to Visual Assist. I think you&#8217;ll find the effort a worthwhile use of your time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Find References has been a feature of Visual Assist for about a decade. And, while Find References now shares its name with a version of the command integral to Microsoft Visual Studio, the original has&#8230;<\/p>\n","protected":false},"author":28485711,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":""},"categories":[672],"tags":[],"class_list":["post-539","post","type-post","status-publish","format-standard","hentry","category-tips-and-tricks"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfhqii-8H","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/users\/28485711"}],"replies":[{"embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/comments?post=539"}],"version-history":[{"count":11,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/539\/revisions"}],"predecessor-version":[{"id":557,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/posts\/539\/revisions\/557"}],"wp:attachment":[{"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/media?parent=539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/categories?post=539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stage.wholetomato.com\/blog\/wp-json\/wp\/v2\/tags?post=539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}