IDEA-299725 Move common refactoring features to platform

GitOrigin-RevId: 0c65d4b61ad1133fb3af42833c09322f8dc28e65
This commit is contained in:
Konstantin Hudyakov
2022-11-02 09:58:45 +02:00
committed by intellij-monorepo-bot
parent 940e166ae0
commit 3d39aff1b3
4 changed files with 52 additions and 82 deletions

View File

@@ -117,20 +117,6 @@
first-show="5"
successive-show="7">
</feature>
<feature
id="codeassists.surroundwith.statement"
tip-id="SurroundWith"
first-show="5"
successive-show="5"
min-usage-count="4"
/>
<feature
id="codeassists.surroundwith.expression"
tip-id="SurroundWith"
first-show="6"
successive-show="5"
min-usage-count="3"
/>
<feature
id="codeassists.comment.block"
tip-id="CommentCode"
@@ -162,6 +148,13 @@
</group>
<group id="refactoring">
<feature
id="codeassists.surroundwith.expression"
tip-id="SurroundWith"
first-show="6"
successive-show="5"
min-usage-count="3"
/>
<feature
id="refactoring.move.moveInner"
tip-id="MoveInnerToUpper"
@@ -169,30 +162,6 @@
first-show="5"
successive-show="10"
/>
<feature
id="refactoring.introduceVariable.incompleteStatement"
tip-id="IntroduceVariableIncompleteCode"
min-usage-count="5"
first-show="3"
successive-show="7"
/>
<feature
id="refactoring.introduceVariable"
tip-id="IntroduceVariable"
min-usage-count="5"
first-show="1"
successive-show="3"
/>
<feature
id="refactoring.rename"
tip-id="Rename"
min-usage-count="2"
first-show="1"
successive-show="3"
/>
<feature
id="refactoring.copyClass"
tip-id="CopyClass"
@@ -200,11 +169,6 @@
first-show="10"
successive-show="8"
/>
<feature id="refactoring.show.quick.list"
tip-id="RefactorThis"
show-in-guide="false">
<track-action id="Refactorings.QuickListPopupAction"/>
</feature>
</group>

View File

@@ -336,4 +336,48 @@
successive-show="5"
/>
</group>
<group id="refactoring">
<feature id="codeassists.surroundwith.statement"
tip-id="SurroundWith"
first-show="5"
successive-show="5"
min-usage-count="4"
/>
<feature id="refactoring.introduceVariable"
tip-id="IntroduceVariable"
min-usage-count="5"
first-show="1"
successive-show="3"
/>
<feature id="refactoring.introduceVariable.incompleteStatement"
tip-id="IntroduceVariableIncompleteCode"
min-usage-count="5"
first-show="3"
successive-show="7"
/>
<feature id="refactoring.rename"
tip-id="Rename"
min-usage-count="2"
first-show="1"
successive-show="3"
/>
<feature id="refactoring.show.quick.list"
tip-id="RefactorThis"
show-in-guide="false">
<track-action id="Refactorings.QuickListPopupAction"/>
</feature>
<feature id="refactoring.extractMethod"
tip-id="ExtractMethod"
min-usage-count="5"
first-show="1"
successive-show="3"
/>
</group>
</component>

View File

@@ -75,6 +75,7 @@ refactoring.introduceVariable.incompleteStatement=Use Introduce Variable to quic
refactoring.introduceVariable=Introduce Variable refactoring
refactoring.rename=Rename
refactoring.copyClass=Copy Class refactoring
refactoring.extractMethod=Extract Method/Function
ui.tree.speedsearch=Speed search in trees
ui.scheme.quickswitch=Quickly switch scheme...
ui.horizontal.scrolling=Horizontal scrolling

View File

@@ -1,43 +1,4 @@
<component>
<group id="codeassists">
<feature
id="codeassists.surroundwith.statement"
tip-id="SurroundWith"
first-show="5"
successive-show="5"
min-usage-count="4"
/>
<!--
<feature
id="codeassists.surroundwith.expression"
tip-id="Surround"
first-show="6"
successive-show="5"
min-usage-count="3"
/>
-->
</group>
<group id="refactoring">
<feature
id="refactoring.introduceVariable"
tip-id="IntroduceVariable"
min-usage-count="5"
first-show="1"
successive-show="3"
/>
<feature
id="refactoring.rename"
tip-id="Rename"
min-usage-count="2"
first-show="1"
successive-show="3"
/>
</group>
<group id="ui">
<feature
id="ui.tree.speedsearch"