Need Env Variables for DataDir and ExtensionDir #49306
Labels
api
*duplicate
Issue identified as a duplicate of another issue(s)
feature-request
Request for new features or functionality
Milestone
Currently, we can only get a few env variables when refer to the mannual here.
So other extensions may access the path of extension and data dir in their code like this:
And we can run vscode with command-line parameters here.
If we specify the following options(for example, we can make it portable), we may change the extension and data dir settings.
But other extensions cann't realize the changes, so it may fails. This issue may be solved when env variables of extension-dir and data-dir exposed.
VSCode v1.23.0 x64(on Win10)
The text was updated successfully, but these errors were encountered: