Skip to content

Commit

Permalink
+ Added Delete Method command for local function
Browse files Browse the repository at this point in the history
  • Loading branch information
wmjordan committed Mar 17, 2023
1 parent 1e11176 commit 40222cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Codist/SmartBars/CSharpSmartBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ void AddRefactorCommands(SyntaxNode node) {
case SyntaxKind.ConstructorDeclaration:
case SyntaxKind.DestructorDeclaration:
case SyntaxKind.MethodDeclaration:
case SyntaxKind.LocalFunctionStatement:
AddCommand(MyToolBar, IconIds.DeleteMethod, R.CMD_DeleteMethod, DeleteCurrentNode);
break;
case SyntaxKind.PropertyDeclaration:
Expand Down

0 comments on commit 40222cb

Please sign in to comment.