Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Hide outline view if no outline is available #263

Open
LeaVerou opened this issue Jun 3, 2018 · 2 comments
Open

Hide outline view if no outline is available #263

LeaVerou opened this issue Jun 3, 2018 · 2 comments

Comments

@LeaVerou
Copy link

LeaVerou commented Jun 3, 2018

I find the outline view immensely useful for JS code, so I'd rather have it continuously open. However, when I navigate to a CSS file, all I get is a ton of wasted space with the message "No outline available. CSS files do not currently support outlines. Install an IDE package first." (Yes, I know one exists, but that's beyond the point, and also I don't want to install it). This is quite a waste of space, and if I close it, it's closed for all my tabs, even those that do have meaningful outlines. Why display that panel at all if it has no content? Communicating why this is happening to the user could be done with a usual dismissible error message, once per file(type).

@mlavi
Copy link

mlavi commented Jul 2, 2018

I love outline view as well, but when it is empty, I'd like it to close or collapse after a certain, potentially defeatable time frame so I reclaim unused visual real-estate and remain focused.
Correspondingly, I'd like it to re-open and display when I switch to files that it can help.

@linjialiang
Copy link

@mlavi @LeaVerou Is your outline ok?The outline under my computer cannot be loaded correctly

#320

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants