Why Use It

Formatting Show




FAQs & Tips

Update History

Award Gallery


License Policy



C# Source Code Formatter

The C# Code Formatter tool reorganizes C# source code files to neatly format and indent code blocks according to the C# programming language syntax and your preferred style options, such as including indentation, comment and documentation style, line wrapping, etc. An example of C# Formatter's results can be seen from C# Source Code Formatting Show.

The C# Formatter of SourceFormatX Source Code Formatter is based on a powerful C# parser engine so you can exactly control the formatting details of code blocks, comments and directives whatever you want. SourceFormatX C# Formatter is ideal for making messy and obtuse code clear. It allows all of your source code to be presented in a consistent format of your choosing, it provides numerous source code format style and operations options as well as batch or individual file processing.

Try C# Formatter free trial now! It will format any C# source code to your preferred style in a matter of seconds!

C# Source Code Formatter Features

  • Indent the Functions, Comments, Directives and Other Elements with User-Defined Options.
  • Specification of Indentation Step Distance.
  • Brace Style Transformation.
  • Intelligent Line Breaks and Wrapping.
  • Intelligent Line Combination.
  • Alignment and Sorting of Source Code Elements.
  • Intelligent Preprocessing Directive Style Transformation.
  • Fully Support for Preprocessing Directive and Macros.
  • Intelligent Single Line Comments, Multi-Line Comments Indentation and Elimination.
  • Adding Header and Footer Templates.
  • Fully Support for XML Document, Doxygen, CCDoc, JavaDoc Documentation.
  • Uniform White Space Conventions.
  • Tab2Space and Space2Tab Conversion.
  • Batch Formatting Processing.
  • Integrations for IDEs: Microsoft .NET 7...
  • Integrations for Text Editors: UltraEdit, Textpad, Editplus...
  • Powerful GUI and Command Line Interface.
  • Conversion between Unicode, ASCII, Unix, Mac Character Encodings.
  • Obfuscate and Scramble C# Source Code to make code difficult to Read and Comprehend.

Some conventional C# Formatter tools use special string processing methods to implement the formatting process. This can work pretty well for many sample files. But it often fails, even mess the original files when macros and preprocessing directives are encountered, as they always are in large systems of software development.

The most reliable way to build a look-and-feel C# formatter which fully supports the C# standard. The SourceFormatX C# Formatter works this way, because it is built around the powerful syntax Parser Engines of Draupnir Soft, to parse and restructure source files. That's why SourceFormatX C# Formatter both format and obfuscate C# source code files.

SourceFormatX C# Formatter offers over 100 individual formatting options to control the appearance of your C# source code. Collectively, these options allow precise control that will satisfy even the pickiest programmer.

  Don't waste time over formatting C# code by hand any more!  Download SourceFormatX C# Formatter to format C# source code exactly the way you want it today!