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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow hiding switch environment status bar item via settings #142

Merged
merged 2 commits into from Dec 8, 2017
Merged

Allow hiding switch environment status bar item via settings #142

merged 2 commits into from Dec 8, 2017

Conversation

VFK
Copy link
Contributor

@VFK VFK commented Dec 7, 2017

This is such a minor nitpick but it feels a bit distracting for me when i'm editing files that completely unrelated to REST client but that status bar switcher is always present 馃槃

This pull request adds showStatusBarItem boolean parameter configurable from settings.
Since we can switch environments via command palette anyway we aren't losing in functionality with this new config param set to false.

package.json Outdated
@@ -441,6 +441,12 @@
"default": "full",
"scope": "resource",
"description": "Response preview output option. 'full' for whole response message(status line, headers and body). 'headers' for response headers(as well as status line). 'body' for response body only. 'exchange' for whole HTTP exchange (request and response)"
},
"rest-client.showStatusBarItem": {
Copy link
Owner

Choose a reason for hiding this comment

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

minor: how about rename it to showEnvironmentStatusBarItem, since status bar in my extension also includes response duration and size status bars

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Huachao Sure, sounds good to me

Copy link
Owner

@Huachao Huachao left a comment

Choose a reason for hiding this comment

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

@VFK Thanks, merged

@Huachao Huachao merged commit cb5f963 into Huachao:master Dec 8, 2017
Huachao added a commit that referenced this pull request Dec 8, 2017
@Huachao Huachao changed the title Allow hiding status bar item via settings Allow hiding switch environment status bar item via settings Dec 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants