-
-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Describe the bug
The extension show a pop-up message with
Error launching fortls: Please check that all selected options are supported by your language server version.
However, no specific options (except for fortls path) have been set (which may be the problem) but I can't see a list of them.
Searching the output of Modern Fortran logs shows
["INFO" - 14:24:15] Extension Name: Modern Fortran
["INFO" - 14:24:15] Extension Version: 3.0.202204291734
["INFO" - 14:24:15] Linter set to: ifort
["INFO" - 14:24:15] Formatter set to: findent
["INFO" - 14:24:15] Autocomplete set to: fortls
["INFO" - 14:24:15] Hover set to: fortls
["INFO" - 14:24:15] Symbols set to: fortls
["INFO" - 14:24:15] using linter: ifort located in: ifort
["INFO" - 14:24:15] Linter.arguments:
-warn
all
["INFO" - 14:24:15] Linter.include:
["INFO" - 14:24:15] Fortran Language Server
["INFO" - 14:25:01] using linter: ifort located in: ifort
["INFO" - 14:25:01] Linter.arguments:
-warn
all
The problem (or at least its symptoms) seems to be close to https://stackoverflow.com/q/72153608/9576551, however I can't see how https://gnikit.github.io/fortls/editor_integration.html#visual-studio-code can help understand which options to change to make fortls work.
Build info (please complete the following information):
- OS: Windows 10 20H2
- Extension Version v3.0.2022042917
- Visual Studio Code Version 1.67.2
fortlsversion 2.7.0 installed withconda
Additional context
Add any other context about the problem here.