Fortran/prettify code

From Wikibooks, open books for an open world
< Fortran
Jump to navigation Jump to search

Prettify Source Code[edit]

There are tools available to automatically edit source code such that it is more easily readable. This includes topics such as

  • indentation
  • alignment
  • lower/uppercase words

fprettify[edit]

A python script fprettify for auto-indentation and whitespace formatting is readily available from github or PyPI.