Skip to content

Wrong use of configuration fortran.linter.compilerPath in file linter-provider.ts #492

Closed
@maroony

Description

@maroony

Describe the bug
When setting this option like

"fortran.linter.compilerPath": "/usr/bin/gfortran-9",

the function getLinterExecutable() in linter-provider.ts will return this compiler path:

using linter: gfortran located in: /usr/bin/gfortran-9/gfortran

This is wrong! It has to be /usr/bin/gfortran-9. The linting feature isn't working any more.

Build info (please complete the following information):

  • OS: Remote Development on Linux (SLES 12)
  • Extension Version v3.0.2022042917
  • Visual Studio Code Version 1.67.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions