Configure fortls in VSCode with ifort #425
Unanswered
BaoTran155
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions