Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Variable substitution doesn't work in settings.json file #1812

Closed
awav opened this issue Nov 25, 2019 · 1 comment
Closed

Variable substitution doesn't work in settings.json file #1812

awav opened this issue Nov 25, 2019 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@awav
Copy link

awav commented Nov 25, 2019

Hello everyone,

Here is logs for language server:

[Info  - 3:42:34 PM] User search paths:
[Info  - 3:42:34 PM]     /Users/artemav/code/GPflow/${env:HOME}/.local/virtual-site-packages
[Info  - 3:42:36 PM] done.
[Info  - 3:42:36 PM] Analysis restarted

Here are settings:

    "python.autoComplete.extraPaths": [
        "/Users/artemav/.local/virtual-site-packages",
        "${env:HOME}/.local/virtual-site-packages"
    ]

And not only env variables don't work, workspaceFolder variable doesn't work either. Check this thread microsoft/vscode-python#7684 (comment).

OS: macOS Mojave 10.14.6
Version: 1.40.1
Commit: 8795a9889db74563ddd43eb0a897a2384129a619
Date: 2019-11-13T16:47:44.719Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 18.7.0

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Nov 25, 2019
@jakebailey
Copy link
Member

Duplicate of #1783.

@jakebailey jakebailey added the duplicate This issue or pull request already exists label Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants