Skip to content

Add zenMode.hideActivityBar option#24499

Merged
isidorn merged 2 commits intomicrosoft:masterfrom
lifez:option-keep-activity-bar-in-zen-mode
Apr 12, 2017
Merged

Add zenMode.hideActivityBar option#24499
isidorn merged 2 commits intomicrosoft:masterfrom
lifez:option-keep-activity-bar-in-zen-mode

Conversation

@lifez
Copy link
Contributor

@lifez lifez commented Apr 11, 2017

Connected to #23611

@mention-bot
Copy link

@lifez, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bpasero and @egamma to be potential reviewers.

@lifez
Copy link
Contributor Author

lifez commented Apr 11, 2017

Could anyone guide me how to test this function

@isidorn isidorn added this to the April 2017 milestone Apr 11, 2017
'zenMode.hideActivityBar': {
'type': 'boolean',
'default': true,
'description': nls.localize('zenMode.hideActivityBar', "Controls if turning on Zen Mode also hides the activitybar bar at the left of the workbench.")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use 'activity bar' not 'activitybar' in the description

this.setSideBarHidden(true, true).done(undefined, errors.onUnexpectedError);

this.setActivityBarHidden(true, true);
this.setActivityBarHidden(false, false);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is not needed. this.setActivityBarHidden(false, false);
If the setting is not true we simply should not do anything

@isidorn
Copy link
Collaborator

isidorn commented Apr 11, 2017

@lifez thank you for your PR, I have commented twice in the commit. Please address those comments and then we can merge in this PR.

@lifez
Copy link
Contributor Author

lifez commented Apr 12, 2017

@isidorn done!

@isidorn isidorn merged commit 8ae90c0 into microsoft:master Apr 12, 2017
@isidorn
Copy link
Collaborator

isidorn commented Apr 12, 2017

@lifez thank you I have merged in the PR and it looks good.
I have only fixed a typo via this commit 6cbd653

@lifez lifez deleted the option-keep-activity-bar-in-zen-mode branch April 21, 2017 08:26
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants