Skip to content

bug: UriError on wind variable rename #1087

Open
@EricStimpsonWSU

Description

@EricStimpsonWSU

Is there an existing issue for this?

  • I have searched the existing issues

I have tried the Pre-Release of the extension.

  • I have replicated the Issue in the latest Pre-Release

Description

I am trying to rename a variable in an F03 source file using the F2 key. When I enter the new variable name, I get an error '[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")'. I've tried several different variables in the same file, as well as a minimal file. The behavior is the same everywhere.

Screenshots

Screenshot 2024-05-11 185735
Screenshot 2024-05-11 185654

Expected Behaviour

Should rename the variable in all places

Version of Modern Fortran

v3.4.2024051001 (pre-release)

Version of Visual Studio Code

v1.89.1

Platform and Architecture

Windows

Additional Information

I had to manually set the path to fortls in my settings file, which looks like this:
"fortran.fortls.path": "c:/Users/xxx/miniconda3/envs/general/scripts/fortls"

The version of fortls is v3.0.0 and python is 3.11.7. I also checked the fortls github to see if there were UriErrors reported there

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions