Telerik® JustCode™ by Progress

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

Note

Language Support

Supported: C#, VB.NET, Razor

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

To create a class

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

    Generate Class Execute
  3. The result is:

    Generate Class Result
Note

If the type is a Razor model, a new class model will be created inside the Models folder.

Create Missing Model As Class Selected

The result is:

Create Missing Model As Class Result

See Also