Skip to content

Support for envFile in rust-analyzer.runnables.extraEnv #21325

@hofbi

Description

@hofbi

https://rust-analyzer.github.io/book/editor_features.html#setting-runnable-environment-variables allows a user to specify extra environment variables. However, this only works for static environment variables. If some environment variables are user or host specific this approach won't work.

Similar to docker compose which supports both environment variables and env files, it would be great if rust analyzer could also support env files and load all variables defined inside this file(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions