vscode-fortran-support
vscode-fortran-support copied to clipboard
feat: add `fypp` linting support for Intel and NAG
Is there an existing request for this?
- [X] I have searched the existing issues
Feature Request
Currently, fypp
is only capable of handling stdin -> gfortran without creating any temporary files. ifort and nagfor cannot receive input from stdin hence we will have to generate the files and store them, then pass the expanded files through the linter.
This issue relies on #614 being implemented.
You could try ifort -fpp-name=$(command -v fypp)
to change the preprocessor used with the Intel compilers.
You could try
ifort -fpp-name=$(command -v fypp)
to change the preprocessor used with the Intel compilers.
Cheers @awvwgk, will give it a go
@awvwgk, have you tried that before? It seems like fypp will need response files before it can work: https://github.com/aradi/fypp/issues/24