Replies: 1 comment 3 replies
-
I am not sure this is possible, at least not without doing some patching. The easiest way to get access to environment variables is probably by writing an extension, and then from there possibly there are APIs you could use to control the views. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am deploying through a docker container and want to control whether certain views on the client are loaded through an environment variable on the server side (such as source control on the active bar).
I notice that in
src\vs\base\common\process. ts
a system environment is exported, but this is not valid on the web.In addition to the network interface, is there any other faster way to get the value or environment variable passed by the server on the client side?
Beta Was this translation helpful? Give feedback.
All reactions