Atom editor: Hide project tab / tree view
Atom does not have an option for doing this by default, and I'm not the only one who wanted to change it.
From https://discuss.atom.io/t/hide-treeview-by-default/7718/46, Jake posted the most functional way to correct this behavior.
To change this:
1) Go to File -> Init script...
2) Paste:
atom.workspace.onDidOpen ({item}) -> itemName = item.constructor.name if (itemName != 'TreeView') # no action if open TreeView intentionally dock = atom.workspace.paneContainerForURI('atom://tree-view') if dock && dock.isVisible() dock.hide()
3) Save
On next startup, the project tab will be hidden. Works at this time of posting.
Comments
Post a Comment