The Fix Usings quick fix is available once JustCode has detected a type name that cannot be resolved. JustCode underlines the type name and suggests you to automatically add a using directive or to fix all usings in the file. Fix Usings command adds all needed using directives in the current file.
Supported: C#, VB.NET, Razor
To fix usings
- Position the caret over the underlined type name.
Press Alt+Enter. From the pop-up menu, select Fix Usings
The result is as follows: