Skip to content

Commit

Permalink
Merge pull request #1342 from retailcoder/next
Browse files Browse the repository at this point in the history
Disabled Code Explorer
  • Loading branch information
retailcoder committed Apr 21, 2016
2 parents 6969fde + 8d73919 commit 61e0fb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RetailCoder.VBE/Settings/ConfigurationLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private GeneralSettings GetDefaultGeneralSettings()
new HotkeySetting{Name=RubberduckHotkey.ParseAll.ToString(), IsEnabled=true, HasCtrlModifier = true, Key1="`", Command = commandMappings[RubberduckHotkey.ParseAll]},
new HotkeySetting{Name=RubberduckHotkey.IndentProcedure.ToString(), IsEnabled=true, HasCtrlModifier = true, Key1="P", Command = commandMappings[RubberduckHotkey.IndentProcedure]},
new HotkeySetting{Name=RubberduckHotkey.IndentModule.ToString(), IsEnabled=true, HasCtrlModifier = true, Key1="M", Command = commandMappings[RubberduckHotkey.IndentModule]},
new HotkeySetting{Name=RubberduckHotkey.CodeExplorer.ToString(), IsEnabled=true, HasCtrlModifier = true, Key1="R", Command = commandMappings[RubberduckHotkey.CodeExplorer]},
new HotkeySetting{Name=RubberduckHotkey.CodeExplorer.ToString(), IsEnabled=false, HasCtrlModifier = true, Key1="R", Command = commandMappings[RubberduckHotkey.CodeExplorer]},
new HotkeySetting{Name=RubberduckHotkey.FindSymbol.ToString(), IsEnabled=true, HasCtrlModifier = true, Key1="T", Command = commandMappings[RubberduckHotkey.InspectionResults]},
new HotkeySetting{Name=RubberduckHotkey.InspectionResults.ToString(), IsEnabled=true, HasCtrlModifier = true, HasShiftModifier = true, Key1="I", Command = commandMappings[RubberduckHotkey.InspectionResults]},
new HotkeySetting{Name=RubberduckHotkey.TestExplorer.ToString(), IsEnabled=true, HasCtrlModifier = true, HasShiftModifier = true, Key1="T", Command = commandMappings[RubberduckHotkey.TestExplorer]},
Expand Down
5 changes: 5 additions & 0 deletions RetailCoder.VBE/UI/Command/CodeExplorerCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ public CodeExplorerCommand(IPresenter presenter)
_presenter = presenter;
}

public override bool CanExecute(object parameter)
{
return false; // return base.CanExecute(parameter);
}

public override void Execute(object parameter)
{
_presenter.Show();
Expand Down

0 comments on commit 61e0fb6

Please sign in to comment.