Skip to content

forts missing warning disables fortls parsing if fortls is installed #365

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

Closed
gnikit opened this issue Jan 22, 2022 · 6 comments
Closed

forts missing warning disables fortls parsing if fortls is installed #365

gnikit opened this issue Jan 22, 2022 · 6 comments
Labels

Comments

@gnikit
Copy link
Member

gnikit commented Jan 22, 2022

Describe the bug
Disabling the fortls prompt at the start of the extension and if fortls is installed will result to modern Fortran never registering the server.

To Reproduce
Set ignore warning.fortls to true

Build info (please complete the following information):

  • OS: . Linux x64
  • Extension Version 3.0.20220117 prerelease
  • Visual Studio Code Version insiders 1.81
@stefabat
Copy link

I see, however even if I do not have fortls installed and the executable path is not manually set, clicking on the install prompt does nothing (I suppose because I do not have pip installed systemwise).

@gnikit
Copy link
Member Author

gnikit commented Jan 22, 2022

Yeah, if you are missing pip the install will fail, silently possibly. If you want open a bug report on the modern Fortran and I'll get to it along with the other one.

I would also suggest, if you are still having trouble launching a language server within modern Fortran you open an issue for that too and we can go address it right now.

@stefabat
Copy link

stefabat commented Jan 22, 2022

open a bug report on the modern Fortran

Isn't this repository the one of the Modern Fortran extension? The extension page on the MS marketplace brings me here.

@gnikit
Copy link
Member Author

gnikit commented Jan 22, 2022

open a bug report on the modern Fortran

Isn't this repository the one of the Modern Fortran extension? The extension page on the MS marketplace brings me here.

Apologies, I got confused. I thought this was the fortran-language-server.

@gnikit gnikit changed the title Invite forts missing warning disables fortls parsing if fortls is installed forts missing warning disables fortls parsing if fortls is installed Jan 22, 2022
@gnikit
Copy link
Member Author

gnikit commented Jan 22, 2022

BTW the temporary fix for this is to either delete from your settings or set to "fortran.ignoreWarning.fortls": false,

gnikit added a commit that referenced this issue Jan 26, 2022
Also fixes forts missing warning disables fortls parsing if fortls is installed  #365
and adds more options for configuring the options through the UI.
@gnikit gnikit mentioned this issue Jan 26, 2022
8 tasks
@gnikit
Copy link
Member Author

gnikit commented Jan 26, 2022

Available in the pre-release

@gnikit gnikit closed this as completed Jan 26, 2022
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

2 participants