The Move or Delete Parameter refactoring allows you to quickly change the parameter's position or remove it from the method's signature.
Note |
|---|
Language Support Supported: C#, VB.NET Not supported: JavaScript Not relevant: ASP.NET, XAML, HTML |
To move or delete a parameter
- Position the caret over the parameter you want to move or delete.
Press Alt+Insert. From the pop-up menu, select Move Or Delete Parameter...
Press Tab to change the parameter position or Delete to delete the parameter and finish the operation.
- Press Enter to move the parameter and finish the operation or Esc to abort the operation.
Note |
|---|
When you move or delete a parameter, JustCode also modifies the existing method calls. For more explanations on this see the examples below. |
Note |
|---|
If you move or delete a parameter from a method that implements or overrides another method, JustCode also modifies the base method. For more explanations on this see the examples below. |
Tip |
|---|
To move or delete a parameter you can also navigate on the main menu. Choose JustCode | Refactor | Move Or Delete Parameter..., or just press Ctrl+R, Ctrl+S |
Examples
See Also