You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the Extension without a fortran compiler installed (and only the language server), it always crashes immediately, even if I set "fortran.linter.compiler" to "Disabled" in the settings.
Steps to reproduce:
Install fortls. Install Modern Fortran Extension on a system with no fortran compiler (gfortran, ifort) installed. In the extension settings, set "fortran.linter.compiler": "Disabled". Then open a fortran source file and, if the language server does not start automatically, execute the command "Fortran: Restart the Fortran Language Server".
Error Messages
The errors shown in VSCode as popup messages are "Server initialization failed" and "Fortran Language Server client: couldn't create connection to server". The extension tries to restart a few times before it gives up with the message "The Fortran Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information."
In the "Extension Host"-Output of VSCode, I could see the error message "[error] Error: not found: Disabled" and after that a few times "[error] Error: tuple index out of range".
Screenshots
No response
Expected Behaviour
Without a compiler, I expected the extension to work with only the functionalities provided by the language server, i.e. hover, autocompletion, symbols and Go to & Peeking into definitions, but without linting.
Version of Modern Fortran
v3.2.0
Version of Visual Studio Code
v1.75.1
Platform and Architecture
Windows 10
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Can you install the pre-release version, and enable Debug log level and post the output of the OUTPUT channel (make
sure to select Modern Fortran from the drop down menu). This will help narrow things down.
Linting and fortls should be completely isolated so initialisation should not be affected.
Is there an existing issue for this?
Description
When trying to use the Extension without a fortran compiler installed (and only the language server), it always crashes immediately, even if I set "fortran.linter.compiler" to "Disabled" in the settings.
Steps to reproduce:
Install fortls. Install Modern Fortran Extension on a system with no fortran compiler (gfortran, ifort) installed. In the extension settings, set "fortran.linter.compiler": "Disabled". Then open a fortran source file and, if the language server does not start automatically, execute the command "Fortran: Restart the Fortran Language Server".
Error Messages
The errors shown in VSCode as popup messages are "Server initialization failed" and "Fortran Language Server client: couldn't create connection to server". The extension tries to restart a few times before it gives up with the message "The Fortran Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information."
In the "Extension Host"-Output of VSCode, I could see the error message "[error] Error: not found: Disabled" and after that a few times "[error] Error: tuple index out of range".
Screenshots
No response
Expected Behaviour
Without a compiler, I expected the extension to work with only the functionalities provided by the language server, i.e. hover, autocompletion, symbols and Go to & Peeking into definitions, but without linting.
Version of Modern Fortran
v3.2.0
Version of Visual Studio Code
v1.75.1
Platform and Architecture
Windows 10
Additional Information
No response
The text was updated successfully, but these errors were encountered: