Sort Code Elements Options

Top  Previous  Next

The Sort Code Elements section of the Corporate Options window allows you to customize the Sort Code Elements feature:

OptionsSortCodeElements

You can define a sort order that will be applied to the code elements of the file when you click the Apply Predefined Sorting button of the Sort Code Elements window. You can use the following primary properties to sort code elements:

  • Kind: the kind of the code element (namespace, class, function, etc.).
  • Scope: the scope of the code element (private, public, etc.).
  • Static (C#) / Shared (VB.NET) or instance: the "static" or "Shared" modifier of the code element.
  • Name: the name of the code element, to be sorted alphabetically.

You can also use the buttons to move up and down each item to change its priority when sorting the code elements.

See Also:

Sort Code Elements