Skip to content

bug: fortls never start if I set an empty empty arg for "Fortran › Fortls: Extra Args" #1182

Open
@liuliping0315

Description

@liuliping0315

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 tested something and set some args for "Fortran › Fortls: Extra Args", then deleted it. There is an extra term in "setting.json".
That is,
"fortran.fortls.extraArgs": [ "" ]
This will prevent fortls from starting. See the attached file.

Temp Solution:
ctrl+shift+p, "type open settings"
then choose both "Preference: open settings" and "Preference: open remote settings"
then delete

,
 "fortran.fortls.extraArgs": [
    ""
  ]

NOTE: delete the extra "," due to json format.

Screenshots

Image

Expected Behaviour

Start fortls normally

Version of Modern Fortran

v3.2.0

Version of Visual Studio Code

1.97.2

Platform and Architecture

windows or windows remote ssh to linux

Additional Information

No response

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