hansec / vscode-fortran-ls

Fortran IntelliSense for Visual Studio Code
MIT License
37 stars 7 forks source link

Allow C Preprocessing #37

Open EdSantilli opened 3 years ago

EdSantilli commented 3 years ago

Problem: I typically send Fortran files through a C preprocessor before sending them to a Fortran compiler. The C preprocessor directives confuse Fortran Intellisense to the point where it cannot identify function names.

Possible solution: Intellisense can ignore lines that begin with #.