-
Notifications
You must be signed in to change notification settings - Fork 445
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
Support shared variables can be used across all the environments #128
Comments
Awesome! I haven't had a chance to try this out, yet. How long does it take for this to show up in the VSCode Marketplace (and within VSCode Extensions)? |
@dprice Since it is still under development, it won't be included in next release in late October, however, it should be included in a release of Novber. Sorry for the inconvenience |
No worries! If I find the time, I'll clone the repo locally and see if I can getting running with the nightly stuff. |
How will the shared variables be configured? Are these also in the user settings file under the environmentVariables setting or somewhere else? |
@dprice also in the setting, but with a special env name to represent it |
@dprice you can try the latest version 0.16.1 to verify this feature. You just need to add variables in an environment named $shared, you can see more details from README. One example is like below: "rest-client.environmentVariables": {
"$shared": {
"host": "https://api.github.com",
"app_server": "localhost",
"app_token": "12345678",
"name": "openstack",
"version": "v1"
},
"Sandbox": {
"name": "Huachao"
},
"Prod": {
"version": "v2"
}
}``` |
Awesome! I'll try that today.
On Fri, Nov 17, 2017 at 12:26 AM Huachao Mao ***@***.***> wrote:
@dprice <https://github.com/dprice> you can try the latest version 0.16.1
to verify this feature. You just need to add variables in an environment
named *$shared*, you can see more details from README. One example is
like below:
"rest-client.environmentVariables": {
"$shared": {
"host": "https://api.github.com",
"app_server": "localhost",
"app_token": "12345678",
"name": "openstack",
"version": "v1"
},
"Sandbox": {
"name": "Huachao"
},
"Prod": {
"version": "v2"
}
}```
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#128 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFKE17-kCj_c0eeYRtwVE-ZfWGoVI8yks5s3RkPgaJpZM4QFM5u>
.
--
Sent from my phone.
|
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: