vscode fortls error #970
-
When I install the "Modern Fortran" extension it asks me to install fortls and after I click "install" this popup appears: Modern Fortran Error starting fortls: Check that fortls is in your PATH or that "fortran.fortls.path" is pointing to a fortls binary. I have checked and the path is: C:\Users\lucas\AppData\Roaming\Python\Python311\site-packages\fortls which seems fine to me. Any possible reasons why its not working? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
For Windows, the autodetection for An educated guess on how the setting should look like: "fortran.fortls.path": "C:\\Users\\lucas\\AppData\\Roaming\\Python\\Python311\\Scripts\\fortls.exe" |
Beta Was this translation helpful? Give feedback.
Probably that would work. AFAIK if you activate anaconda (or any Python venv in a terminal) and open vscode from within in e.g.
fortls (or the formatters) should be discoverable by the automatic mechanism.