简体   繁体   中英

How to install Python Extension in VScode for all users of a machine

I am trying install the Python Extension for VSCode for all users of a machine, but it is getting installed for only the current user. Can anyone help me on this.

Thanks

You can try to change the root directory for extensions when launching code with the code --extensions-dir command . You could also try and script the installation of the extension from a downloaded VSIX at start-up or something. Otherwise I think extension management is designed to be a personal thing and not system controlled (especially with VS Code itself support relocatable installs).

Issue has been resolved after saving the path "C:\Users<userProfile>.vscode\extensions" using the our Profile management tool. the data related to the extensions is stored in above mentioned path. so after saving the path users were able to add the extensions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM