Skip to content

Commit 081f06b

Browse files
committed
disabled code inspections
1 parent 257dbbb commit 081f06b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RetailCoder.VBE/UI/RubberduckMenu.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class RubberduckMenu : IDisposable
2222
private readonly TestMenu _testMenu; // todo: implement as DockablePresenter.
2323
private readonly ToDoItemsMenu _todoItemsMenu;
2424
private readonly CodeExplorerMenu _codeExplorerMenu;
25-
private readonly CodeInspectionsMenu _codeInspectionsMenu;
25+
//private readonly CodeInspectionsMenu _codeInspectionsMenu;
2626
//private readonly RefactorMenu _refactorMenu; // todo: implement refactoring
2727

2828
public RubberduckMenu(VBE vbe, AddIn addIn, Configuration config, Parser parser, IEnumerable<IInspection> inspections)
@@ -31,7 +31,7 @@ public RubberduckMenu(VBE vbe, AddIn addIn, Configuration config, Parser parser,
3131
_testMenu = new TestMenu(_vbe, addIn);
3232
_codeExplorerMenu = new CodeExplorerMenu(_vbe, addIn, parser);
3333
_todoItemsMenu = new ToDoItemsMenu(_vbe, addIn, config.UserSettings.ToDoListSettings, parser);
34-
_codeInspectionsMenu = new CodeInspectionsMenu(_vbe, addIn, parser, inspections);
34+
//_codeInspectionsMenu = new CodeInspectionsMenu(_vbe, addIn, parser, inspections);
3535
//_refactorMenu = new RefactorMenu(_vbe, addIn);
3636

3737
}
@@ -57,7 +57,7 @@ public void Initialize()
5757
_codeExplorerMenu.Initialize(menu.Controls);
5858
//_refactorMenu.Initialize(menu.Controls);
5959
_todoItemsMenu.Initialize(menu.Controls);
60-
_codeInspectionsMenu.Initialize(menu.Controls);
60+
//_codeInspectionsMenu.Initialize(menu.Controls);
6161

6262
_about = menu.Controls.Add(MsoControlType.msoControlButton, Temporary: true) as CommandBarButton;
6363
Debug.Assert(_about != null, "_about != null");

0 commit comments

Comments
 (0)