Skip to content

Add new action to close side bar#90404

Merged
sbatten merged 1 commit intomicrosoft:masterfrom
sirmspencer:master
Feb 11, 2020
Merged

Add new action to close side bar#90404
sbatten merged 1 commit intomicrosoft:masterfrom
sirmspencer:master

Conversation

@sirmspencer
Copy link
Contributor

Add a new action to close the side bar called workbench.action.closeSidebar. This matches the existing workbench.action.closePanel.

@msftclas
Copy link

msftclas commented Feb 10, 2020

CLA assistant check
All CLA requirements met.

@sbatten
Copy link
Member

sbatten commented Feb 10, 2020

@sirmspencer thanks for the PR, we already have a command for toggling the visibility of the sidebar so this command is redundant. yes, the same is true for the panel, but I don't think we should mimic that behavior.

@sbatten sbatten closed this Feb 10, 2020
@sirmspencer
Copy link
Contributor Author

sirmspencer commented Feb 10, 2020

There is no way to tell if the side bar is open. When Im working inside my extension, I need to be sure that I am only closing the side bar, not toggling.

@sbatten sbatten self-requested a review February 11, 2020 00:33
@sbatten
Copy link
Member

sbatten commented Feb 11, 2020

@sirmspencer fair. seeing now we have had a long standing request to access context keys within extension code, but it has not happened. will merge this

@sbatten sbatten reopened this Feb 11, 2020
@sbatten sbatten added the verification-needed Verification of issue is requested label Feb 11, 2020
@sbatten sbatten added this to the February 2020 milestone Feb 11, 2020
@sirmspencer
Copy link
Contributor Author

@sirmspencer fair. seeing now we have had a long standing request to access context keys within extension code, but it has not happened. will merge this

Thank you!

@sbatten sbatten merged commit d436dfd into microsoft:master Feb 11, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

verification-needed Verification of issue is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants