Skip to content

Environment variables not expanded on Linux settings.json #913

@ProtossGP32

Description

@ProtossGP32

VSCODE version: 1.79.2
ISSUE: When creating a project from zero, Genesis code configures the settings.json like this:

{ 
    "C_Cpp.default.includePath": ["${env:GENDEV}/sgdk/inc",
    "${env:GENDEV}/sgdk/res",
    "res",
    "inc"
]
}

But the ${env:GENDEV} is empty, even though I've exported it in my .bashrc file. This prevents to include the SGDK resources paths:
image

I've also tried to overwrite the variables in the Genesis Code settings but the results are the same. The current workaround is to replace the ${env:GENDEV} variable in the settings.json with the current SGDK path (variable ${env:HOME} is expanded correctly, for example).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions