Using to auto collapse projects, possible?


I’m using my to auto add some projects to my tree using atom.project.addPath("/Users/me/project1") and this works wonderful. But is it possible to have it added in an auto-collapsed manner?


You could potentially use DOM APIs to select the correct tree-view nodes and trigger their click events to collapse them? I’m not sure how exactly that would be done, but I’m pretty certain it is possible.