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
How to handle widespread code format changes in a git repository

We have a project with around 500,000 lines of code, managed with git, much of it several years old. We're about …

git refactoring indentation pretty-print
How to respond with a pretty-printed JSON object using play framework?

How can one send, using the Play! framework, a JSON response that is formatted to be human-readable? For example, I'm …

json scala playframework pretty-print
Pretty HTML snippet output

I've a snippet of HTML <div><p>text1</p></div><div&…

java html jsoup transform pretty-print