NArrange is a stand-alone, configurable .NET code beautification tool that automatically organizes code members and elements within .NET classes. It allows developers to easily sort class contents according to their style and layout conventions. NArrange works by parsing source code files into a document object model, arranging the elements, then rewriting the arranged source code.

NArrange helps reduce the amount of time developers spend arranging members within source code files, and when used as part of check-in procedures, can also help reduce source code repository conflicts. With NArrange, developers don't need to worry about where they place a new member definition in a class; they can just type away, and run NArrange prior to compilation. After formatting, the new member will be automatically moved to the appropriate location in the source file. NArrange is not only a great time saver, but it also helps enforce coding style standards across a team when a common configuration file is used.

James Nies

.NET Ramblings and Visual Studio Adventures