Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
liuliping0315 opened this issue Feb 18, 2025 · 0 comments
Open
2 tasks done
Labels

Comments

@liuliping0315
Copy link

liuliping0315 commented Feb 18, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant