Sunday, February 22, 2015

Hide TreeView in Atom by default

To stop Atom keeps showing TreeView whenever you open the editor:

>> Edit >> Open Your Init Script >>


  • Old way:

atom.workspaceView.trigger 'tree-view:toggle'


  • New way (Atom v0.181.0):

atom.commands.dispatch atom.views.getView(atom.workspace), 'tree-view:toggle'


Save!