Skip to content

Follow dependent paths for USE statements. #175

Closed
@dnwillia-work

Description

@dnwillia-work

Hi,

Can we please have an option to control where module (.mod) files are placed as well as included from?

In our project we need to put the module files in a different path outside of the source code area because we don't use the gfortran compiler normally. Though we like to use it for this extension :-).

I was able to force the generation to another location by adding this line to my settings.json

"fortran.linterExtraArgs": ["-J<path>"]

but then the Linter did not seem to figure out that I've forced it.

Dan

EDIT:

See comments below, there is a workaround, though, if you load a module the .mod files for dependencies are not generated on the fly so you end up with unresolved imports.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions