{"id":351,"date":"2009-11-23T13:20:03","date_gmt":"2009-11-23T13:20:03","guid":{"rendered":"https:\/\/blogs.mathworks.com\/desktop\/2009\/11\/23\/the-current-folder-browsers-new-dimension\/"},"modified":"2009-11-23T17:22:21","modified_gmt":"2009-11-23T17:22:21","slug":"the-current-folder-browsers-new-dimension","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2009\/11\/23\/the-current-folder-browsers-new-dimension\/","title":{"rendered":"The Current Folder Browser&#8217;s new dimension"},"content":{"rendered":"<div align=\"center\">\n<a  href=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_current_folder_r2009b\/current_folder.png\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/ken_orr_current_folder_r2009b\/current_folder_small.png\"><\/a>\n<\/div>\n<p>In R2009b, the Current Folder Browser gained the ability to show hierarchical information rather than just a flat list of items. We actually did more than just add a hierarchical view though, and merged the best features of a flat view with the best features of a hierarchical view. <\/p>\n<p>A simple flat directory listing isn&#8217;t very useful when viewing classes, as you&#8217;ll probably want to see the full package hierarchy (see the screen shot above). But with a hierarchical view, you can be saddled with seeing the full hierarchy all the way back to the root &#8212; typically not a very scalable solution. <\/p>\n<p>We wanted to eliminate the drawbacks of both the flat and hierarchical views. To do this, we kept the old behavior of double clicking a folder to make that the current working directory (CWD), but we also used that gesture to reset the root of the tree.<\/p>\n<p>So if you were looking at a full listing of what&#8217;s on your hard drive and double clicked a folder named <em>tmp<\/em>, then <em>tmp<\/em> would become the root of what&#8217;s shown in your Current Folder Browser, as well as the CWD. You could also view the contents of folders under <em>tmp<\/em> without actually changing the current directory by clicking the little &#8220;twisty&#8221; (the arrow on Mac or plus sign on Windows) next to the folder.<\/p>\n<p>In general, I&#8217;m not a fan of hierarchal views, as they add visual and interactive complexity. But in this case, I think we&#8217;ve mitigated that potential complexity by letting you choose the root of your view.<\/p>\n<p>What do you think about this new way to view your content?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In R2009b, the Current Folder Browser gained the ability to show hierarchical information rather than just a flat list of items. We actually did more than just add a hierarchical view though, and&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2009\/11\/23\/the-current-folder-browsers-new-dimension\/\">read more >><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/351"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=351"}],"version-history":[{"count":0,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/351\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}