Skip to content

Commit 43d1397

Browse files
committed
disabled Extract Method in non-debug builds
1 parent 3eb6c04 commit 43d1397

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RetailCoder.VBE/Root/RubberduckModule.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,9 @@ private IMenuItem GetRefactoringsParentMenu()
466466
var items = new IMenuItem[]
467467
{
468468
KernelInstance.Get<CodePaneRefactorRenameCommandMenuItem>(),
469+
#if DEBUG
469470
KernelInstance.Get<RefactorExtractMethodCommandMenuItem>(),
471+
#endif
470472
KernelInstance.Get<RefactorReorderParametersCommandMenuItem>(),
471473
KernelInstance.Get<RefactorRemoveParametersCommandMenuItem>(),
472474
KernelInstance.Get<RefactorIntroduceParameterCommandMenuItem>(),

0 commit comments

Comments
 (0)