The Create Variable quick fix is available once JustCode has detected an unknown identifier in your code. By executing this fix, JustCode automatically creates a local variable in the current method/constructor with the same name as the unknown identifier.
Note |
|---|
Language Support Supported: C#, VB.NET, Razor Not supported: JavaScript Not relevant: ASP.NET, XAML, HTML |
To create a variable
- Position the caret over an unknown identifier.
Press Alt+Enter. From the pop-up menu, select Create Variable 'the unknown identifier'
The result is:
See Also