Hi all,
I need help with setting up fortls for use with ifort in VSCode.
Here is the settings.json I have:
{
“editor.rulers”: [
132
],
“editor.fontSize”: 14,
“explorer.sortOrder”: “type”,
“fortran.linter.compiler”: “ifort”,
“fortran.linter.extraArgs”: [
“-warn”, “all”
],
“fortran.linter.includePaths”: [
“/vast/home/bao/3D_scattering/obj”
],
“fortran.provide.symbols”: “fortls”,
“fortran.provide.hover”: “fortls”
}
For some reason, fortls doesn’t give warning about unused variables and wrong statements.
Everything works if gfortran is used instead of ifort.