Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 7afed71

Browse files
committed
SymbolTypeAtCaretConditionEvaluator now only used for context menus to address issue #405.
1 parent 3752197 commit 7afed71

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

src/Main/Base/Project/ICSharpCode.SharpDevelop.addin

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,12 +1885,10 @@
18851885
icon="Icons.16x16.SelectionArrow"
18861886
class = "ICSharpCode.SharpDevelop.Editor.Commands.FindReferencesCommand"/>
18871887

1888-
<Condition name="SymbolTypeAtCaret" type="member,type,local" projectonly="true" action="Exclude">
1889-
<MenuItem id = "Rename"
1890-
label = "${res:SharpDevelop.Refactoring.RenameCommand}"
1891-
shortcut="Ctrl+R"
1892-
class = "ICSharpCode.SharpDevelop.Editor.Commands.RenameSymbolCommand"/>
1893-
</Condition>
1888+
<MenuItem id = "Rename"
1889+
label = "${res:SharpDevelop.Refactoring.RenameCommand}"
1890+
shortcut="Ctrl+R"
1891+
class = "ICSharpCode.SharpDevelop.Editor.Commands.RenameSymbolCommand"/>
18941892

18951893
<MenuItem id = "GotoBrace"
18961894
label = "${res:XML.MainMenu.SearchMenu.GotoBrace}"

0 commit comments

Comments
 (0)