{"id":29,"date":"2008-07-21T03:22:00","date_gmt":"2008-07-21T10:22:00","guid":{"rendered":"http:\/\/samueldotj.com\/blog\/?p=29"},"modified":"2008-07-21T03:22:00","modified_gmt":"2008-07-21T10:22:00","slug":"source-code-browsing-tool","status":"publish","type":"post","link":"http:\/\/samueldotj.com\/blog\/source-code-browsing-tool\/","title":{"rendered":"Source code browsing tool"},"content":{"rendered":"<p>In UNIX environment there is the famous \u201c<span>cscope<\/span>\u201d, to browse the source code and make changes. Using cscope it is easy to browse\/edit the source code, cross reference all the functions calling a function, including a file etc.<\/p>\n<p>In windows, I was using notepad++\u2019s find files options browse C source code. Today I decided to find an open source full fledged source navigator for windows.<\/p>\n<p>I started with notepad++ plugin \u2013 \u201cFunction List\u201d. But it is just not enough for a project source browsing. Google searches gave me cscope port of windows(http:\/\/cscope.sourceforge.net\/). However I wanted more \u2013 the GUI. With few more searches I found <span>Source Navigator<\/span> &#8211; http:\/\/sourcenav.sourceforge.net\/<\/p>\n<p>Soucrce Navigator is very useful, I just added my project and it give me full list of symbols. Editing a function is just clicking it. Since I am using notepad++ for editing anything, I changed the editor preference to notepad++. To do go to Source Navigator->File menu->Project Preference->Edit-> External editor and give the following line <span><br \/>&#8220;C:\\Program Files\\Notepad++\\notepad++.exe&#8221; -n%l<\/span><\/p>\n<p>Now I can easily browse the source code in Source Navigator and edit it in Notepad++ with few keystrokes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In UNIX environment there is the famous \u201ccscope\u201d, to browse the source code and make changes. Using cscope it is easy to browse\/edit the source code, cross reference all the functions calling a function, including a file etc. In windows, I was using notepad++\u2019s find files options browse C source code. Today I decided to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5,4,14],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-c","category-programming","category-tools","category-windows"],"_links":{"self":[{"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":0,"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"wp:attachment":[{"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/samueldotj.com\/blog\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}