Combine Lines

Top  Previous  Next

 VB.NET   VB6   VB5   VBA 

The Combine Lines feature allows you to combine lines of code, removing line continuation character ("_") at the end of each line.

MZ-Tools offers the following ways to combine lines:

  • The MZ-Tools | Other Utilities | Combine Lines... menu.
     
  • The Combine Lines button on the MZ-Tools - Other Utilities toolbar.
     
  • In Visual Studio, the keyboard shortcut associated with the MZTools8.CombineLines command.
     
  • In VB6 / VB5 / VBA, the keyboard shortcut associated with the Combine Lines feature.
     
  • In VB6 / VB5 / VBA, the Combine Lines... menu entry on the context menu of a project or file in the Project Explorer.

When you invoke this feature:

  • If the cursor is inside a method, the feature is executed only for that method without further action.
     
  • Otherwise, a window is shown that allows you to select the scope of the operation (the most suitable is preselected) and to decide whether or not to keep open the modified documents:

CombineLines

See Also:

Split Lines

Keyboard Shortcuts Options