I experienced similar behaviour recently on Ubuntu. There was a problem with one of the Python packages that fortls depends on. Luckily it was auto-magically fixed after a few days.
Maybe try something like
fortls --version
at the command prompt to see if it sheds some light on the problem?
Apologies for the delay @Rob777 I have been rather busy and didn’t see this.
Linter
So the linter would refer to gfortran or ifort. We changed the option
"fortran.linter.compilerPath": ""
To mean the full path to the compiler you are using for the linter instead of compiler’s root.
So now you have to input /my/custom/dir/gfortran instead of /my/custom/dir if you want to use the non-default compiler version.
fortls - Language Server
Nothing has changed in the language server side of things so I am not sure what that warning is about.
Please paste all the options that you are passing the fortls along with the version that you are using.
Deprecated settings
A lot of settings have been renamed and some have become obsolete. Please open your Settings to see which ones, they are highlighted with deprecation warnings.
u@localhost:~/dev> fortls --version
Traceback (most recent call last):
File "/home/u/.local/bin/fortls", line 5, in <module>
from fortls.__init__ import main
File "/home/u/.local/lib/python3.6/site-packages/fortls/__init__.py", line 10, in <module>
from .helper_functions import resolve_globs, only_dirs
File "/home/u/.local/lib/python3.6/site-packages/fortls/helper_functions.py", line 1
from __future__ import annotations
^
SyntaxError: future feature annotations is not defined
You need to have python 3.7 Or higher for fortls to work. I suspect you are using py3.6 which has reached end of life.
You can install a higher version of python or download miniconda locally and install fortls through that. If you use miniconda I would still recommend you install fortls with pip and not conda-forge