Skip to content

feat: Resolve additional environment variables for entries in the settings.json file #1305

@juanmor40

Description

@juanmor40

Is there an existing request for this?

  • I have searched the existing issues

I have tried the Pre-Release of the extension.

  • Feature is not present in the latest Pre-Release

Feature Request

For example, when setting "fortran.linter.compilerPath":"${env:HOME}/.local/bin/gfortran", the variable HOME is not expanded/resolved.

It seems that the string is not resolved in LinterSettings,

Image

as it is done for the fortls.path, for example,

Image

It would be great if compilerPath, as well as linter.includePaths (if not already done elsewhere).

Thank you

I initially discussed the issue in Fortran Discourse (https://fortran-lang.discourse.group/t/modern-fortran-support-for-environment-variables-in-settings-json/10677)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions