Sort Code Elements (Manual)

Top  Previous  Next

 C#   VB.NET   VB6   VBA 

The Sort Code Elements (Manual) feature allows you to rearrange the code elements (methods, properties, etc.) of the active source code file manually through a window that shows the code elements in a list and up/down buttons:

SortCodeElementsManual

That window offers also a button to apply the default order that would be used by the Sort Code Elements (Automatic) feature.

MZ-Tools offers the following ways to sort the code elements of a file manually:

  • The MZ-Tools | Other Utilities | Sort Code Elements (Manual) menu.
  • The Sort Code Elements (Manual) menu entry on the context menu of a code window.
  • The Sort Code Elements (Manual) button on the MZ-Tools - Other Utilities toolbar.
  • In Visual Studio 2015 and higher, the keyboard shortcut associated with the MZTools.SortCodeElementsManual command.
  • In Visual Studio 2013 and lower, the keyboard shortcut associated with the MZTools8.SortCodeElementsManual command.
  • In VB6 / VBA, the keyboard shortcut associated with the Sort Code Elements (Manual) feature.

After the changes are applied, if you are not satisfied with the new order you can undo the action with the Edit | Undo menu.

See Also:

Sort Code Elements (Automatic)

Code Elements Order Options

Keyboard Shortcuts Options