Telerik® JustCode™ by Progress

The Introduce Field refactoring allows you to quickly create a new field from a selected constant expression and initialize it with the expression.


Language Support

Supported: C#, VB.NET, JavaScript

Not relevant: ASP.NET, XAML, HTML

To introduce a field

  1. Select an expression.

    Introduce Field Select
  2. Press Alt+Insert. From the pop-up menu, select Introduce Field.

  3. Enter a name for the new field or choose one of the suggested names.

    Introduce Field Created
  4. Press Enter to finish or Esc to abort the operation.

To introduce a field you can also navigate on the main menu. Choose JustCode | Refactor | Introduce Field, or just press Ctrl+R, Ctrl+L


You can toggle name suggestions for field name from JustCode Options dialog.

See Also