hansec / fortran-language-server

Fortran Language Server for the Language Server Protocol
MIT License
294 stars 57 forks source link

Specifing different object directory other than the source directory for the object file and .mod file #193

Closed Koushikphy closed 3 years ago

Koushikphy commented 3 years ago

I'm using fortran-language-server with vscode. It creates .mod files in the sources directory for each modules. Usually, when building with makefile I create a different obj directory where I put all the .mod and .o files. can this be done with the fortls so that the main sources directory stays clean?

gnikit commented 3 years ago

Hi there, so fortls does not provide linting in VSCode, that is the job of the underlying Fortran extension, see extension requirements. If you are using Modern Fortran you can do what mentioned in this issue https://github.com/krvajal/vscode-fortran-support/issues/175

Koushikphy commented 3 years ago

ok. thanks,