Telerik® JustCode™ by Progress

The Create Enumeration quick fix is available once Telerik® JustCode™ has detected use of an unknown type in your code. Telerik® JustCode™ suggests you to generate a class, structure, interface or enumeration. By executing this fix, Telerik® JustCode™ automatically creates a new enumeration in the current file with the same name as the unknown type.


Language Support

Supported: C#, VB.NET, Razor

Not relevant: JavaScript, ASP.NET, XAML, HTML

To create an enumeration

  1. Position the caret over an unknown type.
  2. Press Alt+Enter. From the pop-up menu, select Create Enumeration

    Generate Enumeration Execute
  3. The result is:

    Generate Enumeration Result

See Also