Telerik® JustCode™ by Progress

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


Language Support

Supported: C#, VB.NET, Razor

Not supported: JavaScript

Not relevant: ASP.NET, XAML, HTML

To create a variable

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

    Create Variable Select
  3. The result is:

    Create Variable Created

See Also