Skip to content

Configing fortls failed #148

Answered by gnikit
himcraft asked this question in Q&A
Jun 17, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The way that you use fortls is through your editor. You do not spawn fortls yourself from a terminal. The first time you press enter it basically starts the Fortran Language Server but no code editor is listening so nothing happens. When you press Enter the second time you basically interfere with the already spawned server and it causes it to malfunction.

In your code editor e.g. VS Code, you will need to add .cuf as an extension to the server

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@himcraft
Comment options

Answer selected by himcraft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants