Skip to content
prettyprint takes a string representing a tree of parentheses and linebreaks and indents it.
D
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pp/src
src
.gitignore
LICENSE
README.md
dub.json
dub.selections.json

README.md

prettyprint

prettyprint takes a string representing a tree of parentheses and linebreaks and indents it.

Usage

Command line tool

dub run prettyprint:pp < logfile

Library

import prettyprint : prettyprint;

string formattedOutput = object.toString().prettyprint;

API

public string prettyprint(const string text, size_t columnWidth = 80);
You can’t perform that action at this time.