Error Spawning fortls #282
-
Hi, Package versions: Would you tell me how can I fix this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Hey @AlaBahrami Modern Fortran and FORTRAN Intellisense are not compatible. The same goes for fortls and FORTRAN Intellisense. I hope that clears things up a bit. |
Beta Was this translation helpful? Give feedback.
-
Hi @gnikit. Thanks for your response. Yes, I see the warning message pops out that the FORTRAN Intellisense is not compatible with Modern Fortran. So, I disabled the FORTRAN Intellisense extension. It is not obvious to me why in the FORTRAN Intellisense page (https://github.com/hansec/vscode-fortran-ls) it is declared the extension requires Modern Fortran or Fortran. However, I still have problem related IDE. It seems it is not active and features are not active. The error message is : |
Beta Was this translation helpful? Give feedback.
-
Thanks @gnikit for your explanation. Yes, it seems the FORTRAN Intellisense has not been updated since three years ago. I still have the issue regarding the detection of
It shows me the directory of Python packages. It doesn't direct me to the I set absolute path as the following, but still the IDE is not working and I am getting the same error as before.
I tried on other workstation with different directory and I have the same issue. For both setting of |
Beta Was this translation helpful? Give feedback.
-
Hi @gnikit. Yes, I am using Ubuntu as I explained before and I compile and run a Fortran code in Linux via Ubuntu WSL. I have never run a code in the Windows environment before using Powershell or cmd. I became confused also why I install
Finally, I can use fortls and its features are active. For example, I use |
Beta Was this translation helpful? Give feedback.
Hey @AlaBahrami Modern Fortran and FORTRAN Intellisense are not compatible. The same goes for fortls and FORTRAN Intellisense.
We can only guarantee that our language server (fortls) works with our VS Code extension (Modern Fortran).
I hope that clears things up a bit.