Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was 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

Description

@awav

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions