Hi Davide
Thank you. That is super helpful. I followed your instruction in another thread, and the python and fortran language servers finally get to work now:)
Have you used Modern Fortran
in VS Code for fortran code syntax highlighting/hover? While the fortran language server is working with fortls in my conda environment, it outputs multiple error message like Module "***" not found in project
. I am viewing ACCESS-rAM3 UM source code, which is suggestd not to be posted in this Forum as it is not open source.
I think the problem is with the first error message “Can’t open module file ‘***.mod’ for reading at (1): No such file or directory”. If I mannually open a .F90 file, a corresponding .mod file will be generated and the error message will disappear. But since I donot open most of the .F90 file, there are too many warning messages. Can we point Modern Fortran
to these .F90 files rather than .mod files?
Regards, Qinggang