findent indents/beautifies/converts and can optionally generate the dependencies of Fortran sources.
cpp
and coco
preprocess statementsNormal installation using pip
OS Architecture Linux x64, arm64, i686, aarch64, ppc64, s390x MacOS x64, arm64 Windows x64 Format filein.f90
to out.f90
findent < in.f90 > out.f90Format with 4-space indentation and convert Fixed Form
in.f
to Free Form out.f90
findent -i4 -Rr < in.f > out.f90Format and refactor all files with
.f
extension in the current directory Generating Fortran source dependencies for use in Makefile
findent will generate a dependency list for:
include
, #include
and ??include
statementsIn your Makefile add something similar to:
findent --makefdeps > makefdeps chmod +x makefdeps include deps dep deps: ./makefdeps *.f90 > deps
The flag --makefdeps
generates a script in the standard output. Depending on your usecase the script might not suffice and you will need to write your own version.
Installation instructions:
Documentation:
:help equalprg
:help indentexpr
Installation instructions:
Installation instructions:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4