Reputation: 23
One can specify the extension dir by running from command line:
code --extensions-dir c:\path\to\ext
However, I would like to set this parameter even when running from the windows menu. I tried to modify the argv.json file located in the .vscode folder (like for https://code.visualstudio.com/docs/getstarted/locales). It didn't work.
Does anybody know how to fix this?
Bests
Upvotes: 1
Views: 3877
Reputation: 21
As a complement to DG's response
If the VSCODE_EXTENSIONS environment variable is created as a system variable, it seems to affect all users.
In my case, I performed the following steps:
It is convenient to mention since then the extensions installed by administrator are available to all users and are installed in the folder mentioned previously.
Upvotes: 2
Reputation: 96
Try creating an environment variable called VSCODE_EXTENSIONS
with the value of c:\path\to\ext
Upvotes: 5