Fortran/prettify code

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

Prettify Source Code[edit | edit source]

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 | edit source]

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