{"id":7684,"date":"2021-11-05T11:40:38","date_gmt":"2021-11-05T18:40:38","guid":{"rendered":"https:\/\/visualgdb.com\/w\/?p=7684"},"modified":"2021-11-05T11:40:38","modified_gmt":"2021-11-05T18:40:38","slug":"codejumps","status":"publish","type":"post","link":"https:\/\/visualgdb.com\/documentation\/codejumps\/","title":{"rendered":"CodeJumps"},"content":{"rendered":"<h1>Overview<\/h1>\n<p><strong>CodeJumps<\/strong> are popups <strong>(1)<\/strong> shown in the source code editor, that provide detailed information about the relations between functions, classes, variables, etc:<a href=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/11\/jumps.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7685\" src=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/11\/jumps.png\" alt=\"\" width=\"1427\" height=\"447\" \/><\/a>The popups can be opened by clicking on the CodeJumps annotations <strong>(2)<\/strong> above the function and type declarations. You can quickly turn the CodeJumps annotations on and off via the CodeJumps button in the top right corner of the editor <strong>(3)<\/strong>.<\/p>\n<p>Note that CodeJumps are provided by the Clang IntelliSense engine and will not appear for projects using the regular VC++ IntelliSense.<\/p>\n<h1>Tweaking<\/h1>\n<p>CodeJumps can show a variety of different information:<\/p>\n<ul>\n<li>All references to a specific symbol<\/li>\n<li>Incoming\/outgoing calls to functions<\/li>\n<li>Variables read\/written by functions, and functions accessing variables<\/li>\n<li>Implementations of pure virtual methods and function pointers<\/li>\n<li>All instances of a specific type<\/li>\n<li>All functions creating\/deleting instances of a class\/struct<\/li>\n<\/ul>\n<p>You can select the specific view at the bottom of the CodeJumps popup <strong>(1)<\/strong>: <a href=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/11\/tree.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7686\" src=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/11\/tree.png\" alt=\"\" width=\"778\" height=\"145\" \/><\/a>Normally, CodeJumps show information from the entire solution, however you increase performance by restricting them to the current project only via the scope selector <strong>(2)<\/strong>.<\/p>\n<p>If you would like to view multiple symbols at once, flag them for further review, or find common roots in call trees, use the Code Explorer button <strong>(3)<\/strong> to open the selected entity in <a href=\"https:\/\/visualgdb.com\/documentation\/codeexplorer\/\">Code Explorer<\/a>.<\/p>\n<p>You can customize various CodeJumps settings via the &#8220;Settings&#8221; button <strong>(4)<\/strong> or by opening <strong>Tools-&gt;Options-&gt;Text Editor-&gt;C\/C++ (VisualGDB)-&gt;CodeJumps<\/strong>:<a href=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/11\/options.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7687\" src=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/11\/options.png\" alt=\"\" width=\"833\" height=\"518\" \/><\/a><\/p>\n<h1>QuickInfo<\/h1>\n<p>CodeJumps popups can be shown instead of the regular QuickInfo tooltips. Simply hover the mouse over the QuickInfo popup and click &#8220;Switch to Advanced View&#8221;:<a href=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/11\/view.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7688\" src=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/11\/view.png\" alt=\"\" width=\"600\" height=\"167\" \/><\/a>This will display an equivalent of the CodeJumps popup instead of the regular QuickInfo tooltip:<a href=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/11\/calls.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7689\" src=\"https:\/\/visualgdb.com\/w\/wp-content\/uploads\/2021\/11\/calls.png\" alt=\"\" width=\"797\" height=\"444\" \/><\/a>VisualGDB will remember the last view used in the QuickInfo tooltips, and will show it next time you hover the mouse over another symbol. You can switch back to the simple QuickInfo view later by selecting &#8220;<strong>Quick Info<\/strong>&#8221; in the view selector.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview CodeJumps are popups (1) shown in the source code editor, that provide detailed information about the relations between functions,<\/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":[52],"_links":{"self":[{"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/posts\/7684"}],"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=7684"}],"version-history":[{"count":1,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/posts\/7684\/revisions"}],"predecessor-version":[{"id":7690,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/posts\/7684\/revisions\/7690"}],"wp:attachment":[{"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/media?parent=7684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/categories?post=7684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/visualgdb.com\/w\/wp-json\/wp\/v2\/tags?post=7684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}