{"id":7477,"date":"2021-09-29T08:18:50","date_gmt":"2021-09-29T15:18:50","guid":{"rendered":"https:\/\/visualgdb.com\/w\/?p=7477"},"modified":"2021-10-26T13:10:39","modified_gmt":"2021-10-26T20:10:39","slug":"code-explorer-outline-details","status":"publish","type":"post","link":"https:\/\/visualgdb.com\/documentation\/codeexplorer\/outline\/details\/","title":{"rendered":"Code Explorer &#8211; Outline Details"},"content":{"rendered":"<p>This page provides a detailed explanation of the Details window for the <a href=\"\/documentation\/codeexplorer\/outline\/\">Outline<\/a> view of Code Explorer.<\/p>\n<h2>Contents<\/h2>\n<p><a href=\"#overview\">Overview<\/a><br \/>\n<a href=\"#modes\">Modes<\/a><br \/>\n<a href=\"#structure\">Structure<\/a><br \/>\n<a href=\"#references\">References<\/a><br \/>\n<a href=\"#relations\">Relations<\/a><\/p>\n<h2><a id=\"overview\"><\/a>Overview<\/h2>\n<p>The Details view provides additional details about the selected Code Explorer node. It is shown in a separate tool window that can be docked under the Outline window: <a href=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/details3-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7480\" src=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/details3-1.png\" alt=\"\" width=\"1192\" height=\"779\" \/><\/a>You can also dock it anywhere else in the Visual Studio interface: <a href=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/details2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7478\" src=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/details2.png\" alt=\"\" width=\"1190\" height=\"779\" \/><\/a><\/p>\n<h2><a id=\"modes\"><\/a>Modes<\/h2>\n<p>The Outline Details view can display various information about either the current outline node <strong>(1)<\/strong> or the C\/C++ entity referenced at the cursor location <strong>(2)<\/strong>. <a href=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/details4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7481\" src=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/details4.png\" alt=\"\" width=\"805\" height=\"266\" \/><\/a>Specifically, the following information can be shown:<\/p>\n<ol>\n<li>Entity structure.<\/li>\n<li>Entity references.<\/li>\n<li>Relations with other entities.<\/li>\n<\/ol>\n<h2><a id=\"structure\"><\/a>Entity Structure<\/h2>\n<p>The structure view will instantly show the structure (i.e. immediate children) of the target entity. This information is computed from parsing the current source file only, so it does not require rebuilding of the symbol cache, and works very fast with frequently modified sources: <a href=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/structure.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7482\" src=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/structure.png\" alt=\"\" width=\"1197\" height=\"757\" \/><\/a><\/p>\n<h2><a id=\"references\"><\/a>Local References<\/h2>\n<p>The references view shows all local references (within the same source file) to the selected entity. It works very fast and is useful for getting a quick overview of where a certain local variable is used:<a href=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/refs-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7484\" src=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/refs-1.png\" alt=\"\" width=\"802\" height=\"446\" \/><\/a>It works for all entity types (e.g. classes\/methods as well), but only shows the information in the current source file. Use the slower &#8220;Find all references&#8221; command to find references in the entire solution<\/p>\n<h2><a id=\"relations\"><\/a>Relations<\/h2>\n<p>This view is useful to get a quick high-level idea of what the currently viewed method does. It will show outgoing calls, accessed data, base classes, overridden methods, etc.:<a href=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/relations.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7485\" src=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/09\/relations.png\" alt=\"\" width=\"799\" height=\"589\" \/><\/a>The relations view also works in other direction (e.g. will show methods calling this one), but only for relations defined in the current source file, or any of its headers. Use the <a href=\"\/documentation\/codeexplorer\/globals\/\">Globals<\/a> view to explore the entity relations gathered from the entire solution.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This page provides a detailed explanation of the Details window for the Outline view of Code Explorer. Contents Overview Modes<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[239],"tags":[236,52],"_links":{"self":[{"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/posts\/7477"}],"collection":[{"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/comments?post=7477"}],"version-history":[{"count":1,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/posts\/7477\/revisions"}],"predecessor-version":[{"id":7486,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/posts\/7477\/revisions\/7486"}],"wp:attachment":[{"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/media?parent=7477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/categories?post=7477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/tags?post=7477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}