Replies: 2 comments 5 replies
-
A couple of questions:
To share your completions you can use the following debug options from a terminal https://gnikit.github.io/fortls/options.html#debug-options-command-line-only You will have to do something like this fortls --debug_rootpath ./your/projects root --debug_filepath ./your/filename --debug_completion --debug_line yourlineNumber --debug_char yourColumnNumber |
Beta Was this translation helpful? Give feedback.
-
Local settings:
Global settings:
The completion above, although correct, is not the whole story. As I type "mesh" I get other completion suggestions unrelated to the current project. Here they are typed below:
The completion suggestions I used to get from Nek5000 turned out to be from an old NekRS folder I had on my drive, even though it was not installed and not in my $PATH. The same for WRF completions. I compressed both folders and deleted the source and now the completion suggestions are gone. |
Beta Was this translation helpful? Give feedback.
-
Hi, running
fortls
version 2.12.0 installed from pip, within Kate 20.12.2 on Debian Bullseye with Plasma 5.20.5.fortls
starts correctly in Kate LSP client plugin.My local settings are the following:
The global settings are still relative to package
fortran-language-server-1.12.0
which I had installed before switching tofortls-2.12
from pip, but local settings are supposed to supersede them.What is weird is that I'm getting completions from Nek5000 although it's not installed on my system. No idea why it's happening and this is the first time I try
fortls
. Has anybody seen that before?Thanks
Beta Was this translation helpful? Give feedback.
All reactions