Update environmentService.ts to enable ENV defined extenstions-dir
This update allows VS Code users to define the desired extensions directory by means of an environment variable "vscode_config_ext", instead of having to rely on the command-line arguments. By providing a path to the extensions directory in an environment variable, VS Code is able to have a system or user defined extensions directory that does not require a wrapper script to launch code for the settings to take effect. This solution is similar to the npm ENV variable solution "npm_config_cache". This is 1/2 of the solution for providing a portable solution to remove VS Code from the Windows roaming profile.
Showing
想要评论请 注册 或 登录