| Crates.io | fprettier |
| lib.rs | fprettier |
| version | 0.2.0 |
| created_at | 2026-01-17 21:55:35.897736+00 |
| updated_at | 2026-01-24 03:57:24.462372+00 |
| description | Auto-formatter for modern Fortran source code |
| homepage | |
| repository | https://github.com/fredjones42/fprettier |
| max_upload_size | |
| id | 2051260 |
| size | 608,968 |
fprettier is an auto-formatter for Fortran 90+ code.
fprettier is inspired by fprettify but strives to be:
First, install Rust and Cargo by following the instructions at:
Then install fprettier:
cargo install fprettier
Run fprettier with no arguments to display the usage information.
New Features:
#if, #ifdef, #endif, etc.) -- preprocessor lines are preserved without formatting and indentation is handled correctly within preprocessor blocksBug Fixes:
+/- on continuation lines being incorrectly treated as binary operators instead of unary.NOT. operatordo/end do constructs!$OMP) continuation line handling//)END IF recognition after semicolon on same line! fprettier:)