Telerik® JustCode™ by Progress

The Create Parameter quick fix is available once Telerik® JustCode™ has detected an unknown identifier in a method or constructor. By executing this fix, Telerik® JustCode™ automatically creates a parameter in the current method/constructor with the same name as the unknown identifier.

Note

Language Support

Supported: C#, VB.NET

Not supported: JavaScript

Not relevant: ASP.NET, XAML, HTML

To create a parameter

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

    Create Parameter Select
  3. The result is:

    Create Parameter Created
Caution

Telerik® JustCode™ will update the method invocations with the default value of the parameter type if the option Update invocations when executing Add/Create Parameter quick fix is enabled.

See Also