Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read Side Bar State #51729

Closed
pltrant opened this issue Jun 12, 2018 · 2 comments
Closed

Read Side Bar State #51729

pltrant opened this issue Jun 12, 2018 · 2 comments
Assignees

Comments

@pltrant
Copy link

pltrant commented Jun 12, 2018

It would be useful to have an API to check to see if the Side Bar is currently expanded or collapsed. I have an extension that makes use of the relatively new TreeData.reveal API to highlight code segments as the user's cursor moves around (they can also click on the tree nodes to go directly there in the code). Currently, reveal will always expand the Side Bar if it's collapsed, which is annoying for users who want to collapse it. Being able to detect the Side Bar state world resolve this issue, as I could then forego the reveal if there Side Bar is collapsed.

@vscodebot
Copy link

vscodebot bot commented Jun 12, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@pltrant
Copy link
Author

pltrant commented Jun 13, 2018

#48198 mostly handles this, so closing this issue.

@pltrant pltrant closed this as completed Jun 13, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 28, 2018
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

2 participants