dfmt

Formatter for D source code with automatic code style correction

brewmacoslinux
Try with needOr install directly
Source

About

Formatter for D source code

Commands

dfmt

Examples

Format a single D source file in-place$ dfmt -i myfile.d
Format and display output without modifying the file$ dfmt myfile.d
Format multiple files recursively in a directory$ dfmt -i src/**/*.d