Top "Pretty-print" questions

Prettyprint (or pretty-print) is the application of any of various stylistic formatting conventions to text, source code, markup, and other similar kinds of content.

Is there a pretty printer / code formatter for C# (as part of build system)?

Is there a pretty printer / code formatter for C# (as part of build system)? Read as: "lives outside of Visual …

c# pretty-print
Algorithm for neatly indenting SQL statements (Python implementation would be nice)

I'd like to reformat some SQL statements that are a single string with newlines in to something that's much easier …

python sql coding-style indentation pretty-print
Ruby Source code Auto-Formatter

What is the best option? I found: https://github.com/jasonl/eden http://www.arachnoid.com/ruby/rubyBeautifier.html but …

ruby-on-rails ruby pretty-print
Custom indent width for BeautifulSoup .prettify()

Is there any way to define custom indent width for .prettify() function? From what I can get from it's source …

python beautifulsoup indentation code-formatting pretty-print
format xml, pretty print

I know of two ways to "pretty print", or format, xml: shell tools Hack 38 Pretty-Print XML Using a Generic Identity …

xml pretty-print prettify
pprint(): how to use double quotes to display strings?

If I print a dictionary using pprint, it always wraps strings around single quotes ('): >>> from pprint …

python pretty-print pprint
Pretty print a tree

Let's say I have a binary tree data structure defined as follows type 'a tree = | Node of 'a tree * 'a * …

f# pretty-print