Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-pass environment variable resolution #2057

Closed
bobbrow opened this issue May 29, 2018 · 2 comments
Closed

Multi-pass environment variable resolution #2057

bobbrow opened this issue May 29, 2018 · 2 comments
Labels
Feature Request fixed Check the Milestone for the release in which the fix is or will be available. help wanted Can be fixed in the public (open source) repo. Language Service quick fix
Milestone

Comments

@bobbrow
Copy link
Member

bobbrow commented May 29, 2018

@Gouthamm4G

Copied from #957

The initialized variables don't work inside env when it is referenced right next to the definition. For example,

{
    "env": {
        "envRoot": "apps/tool/buildenv",
        "arm6.include": "${envRoot}/arm6/include",
    },
    "configurations": [
        {
            "name": "Custom",
            "includePath": [
                "${arm6.include}"
            ],
            "browse": {
                "limitSymbolsToIncludedHeaders": false,
                "path": [
                     "${arm6.include}"
                ]
            },
            …
        }
    ],
    "version": 4
}

This doesn't seem to work. That would be really useful

@bobbrow bobbrow added Language Service Feature Request quick fix help wanted Can be fixed in the public (open source) repo. labels May 29, 2018
@john-patterson
Copy link
Contributor

I'll take a crack at this.

@sean-mcmanus
Copy link
Contributor

@john-patterson Cool, thanks a lot 👍

@bobbrow bobbrow modified the milestones: August 2018, On Deck Jul 24, 2018
@sean-mcmanus sean-mcmanus modified the milestones: On Deck, August 2018 Jul 25, 2018
@sean-mcmanus sean-mcmanus added the fixed Check the Milestone for the release in which the fix is or will be available. label Jul 25, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Request fixed Check the Milestone for the release in which the fix is or will be available. help wanted Can be fixed in the public (open source) repo. Language Service quick fix
Projects
None yet
Development

No branches or pull requests

3 participants