Allow Tree-View when no file/folder #68
Comments
Ping on this one. |
What should Tree-View show when there is no file/folder? |
No idea what should it show, when there's no file, but when there IS a file, then - folder containing that file. |
I agree, tree view should be open also with no files, it is a simple behaviour of finding the start of the code always on the same position. If I start Atom without any files the code start on the left side of the screen and it is very annoying on large screen. |
Well, I just completely wiped my Atom installation and user configuration and reinstalled Atom from scratch (two times) because I thought there was some bug in my configuration preventing the tree view from opening. When even the "Toggle Tree View" command does nothing, it sure looks like a bug. |
I have this at the end of my
|
From atom/atom#6179 (comment), it might be worth showing a notification if you try opening the tree view with no project folder added. That way it won't seem broken if nothing happens. |
Or just open an empty tree view since that's probably the expected behavior. |
Yes, and perhaps the tree view could have an empty state like the panes do that display a message. |
👍 That sounds good |
Going to poke this along, I just ran into this issue as well, waisted a couple hours of work time before I figured out what was wrong. Really something that needs to be added. |
Getting caught by this problem myself on Windows 7. Even when opening from Explorer, Atom cannot toggle the treeview with |
Two years later: I just spent nearly an hour opening and closing Atom, trying to toggle via Context and Key Shortcut, looking at various Atom config files, and perusing. 😯 Any chance this |
@Swivelgames Yes. Use Sublime 😤 |
The title of this enhancement is "Allow tree view when no open file/folder", but I think that's overly specific. The problem I had is that I was telling the tree view to open (via the usual keyboard shortcut, but also via the command palette) and nothing was happening. Having the tree view open up would have been one way to solve this; but a "Cannot show tree view, no open file" error message would have worked nicely as well. I'd suggest change this from an enhancement to a bug along the lines of "No user feedback when tree view can't be opened". That bug might be solved by an enhancement to "Allow tree view when no open file/folder", but there might also be a simpler solution to the bug. |
I am having the same issue in ubuntu 16.04 and my other lappy with 14.04 runs perfectly please help |
Is there a solution for this? |
Open since 2 years ago? This is funny.. but it scares me enough to go back to sublime - that such a small thing is not resolved YET.. i know, it's allot of stuff to work on to the atom devs but.. still.. i just wanted a polished awesome text editor.. |
@huckl3b3rry87 @mda6 @chakrihacker You are very welcome to donate your time and make a fix for this :) |
maybe showing the home folder by default if no file or folder is opened |
Because I usually drag a project folder inside the Tree-View... but for now that open a new window Editor. That's mean I have an editor with my project folder and the tree-view and a editor with nothing...
The text was updated successfully, but these errors were encountered: