Why dependencies are not installed automatically #8578
-
I want to install offline vscode-cpptools package 1.5.1 in Ubuntu 18.04 Then I add --user-data-dir to install the extension: Why --user-data-dir can make it install dependencies automatically? Since I use non-root user to install extension, I think it is unnessary to add --user-data-dir. But how can I install dependencies automatically without --user-data-dir? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @sunnysnowhi . The 'offline' (platform-specific) VSIX files available on the release page will include all dependencies. The 'online' VSIX or the one you get when installing via the Marketplace) will download dependencies when first activated. I don't believe the A VSIX file is actually a ZIP file. I've confirmed that the |
Beta Was this translation helpful? Give feedback.
Hi @sunnysnowhi . The 'offline' (platform-specific) VSIX files available on the release page will include all dependencies. The 'online' VSIX or the one you get when installing via the Marketplace) will download dependencies when first activated. I don't believe the
--user-data-dir
is directly related to this behavior.A VSIX file is actually a ZIP file. I've confirmed that the
cpptools-linux.vsix
for 1.5.1 does contain the dependencies. If that VSIX was extracted, those files should be present. Perhaps you had previously installed the online version of the VSIX, and were looking at those contents?