Replies: 1 comment 2 replies
-
Vscode probably does not work because you are not giving it a valid path to the fortls binary or in your version of fortls you have broken something. It's hard to tell without looking at settings and or your code. The specific test requires network access and it's supposed to check that the auto-update mechanism works. There might be other reasons why it fails, but I would not fixate on that. On a side note, the task you have undertaken is non-trivial and probably needs regular guidance on my behalf. Which is why it's currently part of a proposed 2-3 month GSoC project. That being said if you want to give it a go I would start by implementing a response lsp function first, followed by a debug interface so that you can use the cli debug interface instead of vscode to test your code. I would also start backwards i.e. write a very simple test and then write the code to make it work. |
Beta Was this translation helpful? Give feedback.
-
Hi there, I'd like to give it a go to write an LSP response for the folding range. I followed the instructions in contributing.md and managed to update the fortls executable without any issue. When I open a *.f90 file though with vscode, it fails to load fortls, the error message is the following:
I also have some unit tests failing, I don't know if this is somehow related...
Beta Was this translation helpful? Give feedback.
All reactions