Editor Quick Action: Sort the ILUSING Statements

Note: Only available in .NET COBOL.

The Visual Studio quick action Sort Usings enables you to order alphabetically the $set ilusing statements if more than one are available for the .NET COBOL program opened in the editor.

To use the quick action:

  1. In a .NET COBOL program that has more than one $set ilusing statements, click on one of the lines for $set ilusing.

    This causes the IDE to display a light-bulb in the margin.

  2. Click on the light-bulb to display the information pop-up, then click Sort Usings.

    This applies the quick action and rearranges the $set ilusing statements in alphabetical order.