File tree Expand file tree Collapse file tree 4 files changed +11
-10
lines changed
src/com/intellij/vcs/git/shared/widget Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 201201 <action class =" git4idea.actions.branch.GitCheckoutFromInputAction" />
202202 </group >
203203
204- <group id =" Git.Branches.Popup.SpeedSearch" >
205- <reference ref =" EditorBackSpace" />
206- <reference ref =" EditorCut" />
207- <reference ref =" EditorPaste" />
208- <reference ref =" $Undo" />
209- </group >
210-
211204 <group id =" Git.Branch" >
212205 <action class =" git4idea.actions.ref.GitCheckoutAction" />
213206 <action class =" git4idea.actions.branch.GitCheckoutAsNewBranch" />
Original file line number Diff line number Diff line change 1313
1414 <action id =" git.branches.show.tags" class =" com.intellij.vcs.git.shared.actions.GitBranchesTreeShowTagsAction" />
1515
16+ <group id =" Git.Branches.Popup.SpeedSearch" >
17+ <reference ref =" EditorBackSpace" />
18+ <reference ref =" EditorCut" />
19+ <reference ref =" EditorPaste" />
20+ <reference ref =" $Undo" />
21+ </group >
22+
1623 <group id =" Git.Branches.Popup.Settings" class =" com.intellij.vcs.git.shared.widget.actions.GitBranchesTreePopupSettings" icon =" AllIcons.Actions.More" >
1724 <group id =" git.branches.popup.filter.by.separator" class =" com.intellij.vcs.git.shared.widget.actions.GitBranchesTreePopupFilterSeparatorWithText" />
1825 <action id =" git.branches.popup.filter.by.action" class =" com.intellij.vcs.git.shared.widget.actions.GitBranchesTreePopupFilterByAction" />
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ object GitBranchesWidgetActions {
2222 @Language(" devkit-action-id" )
2323 const val TOP_LEVEL_ACTIONS_ACTION_GROUP : @NonNls String = " Git.Branches.List"
2424
25+ @Language(" devkit-action-id" )
26+ const val SPEED_SEARCH_ACTION_GROUP : @NonNls String = " Git.Branches.Popup.SpeedSearch"
27+
2528 val MAIN_POPUP_ACTION_PLACE : @NonNls String = ActionPlaces .getPopupPlace(" GitBranchesPopup.TopLevel.Branch.Actions" )
2629
2730 val NESTED_POPUP_ACTION_PLACE : @NonNls String = ActionPlaces .getPopupPlace(" GitBranchesPopup.SingleRepo.Branch.Actions" )
Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ abstract class GitBranchesTreePopupBase<T : GitBranchesTreePopupStepBase>(
329329 speedSearch.updatePattern(textInEditor)
330330 onSpeedSearchPatternChanged()
331331 }
332- val group = am.getAction(SPEED_SEARCH_DEFAULT_ACTIONS_GROUP ) as DefaultActionGroup
332+ val group = am.getAction(GitBranchesWidgetActions . SPEED_SEARCH_ACTION_GROUP ) as DefaultActionGroup
333333 for (action in group.getChildren(am)) {
334334 registerAction(am.getId(action),
335335 KeymapUtil .getKeyStroke(action.shortcutSet),
@@ -736,8 +736,6 @@ abstract class GitBranchesTreePopupBase<T : GitBranchesTreePopupStepBase>(
736736 }
737737
738738 companion object {
739- private const val SPEED_SEARCH_DEFAULT_ACTIONS_GROUP = " Git.Branches.Popup.SpeedSearch"
740-
741739 private inline val isNewUI
742740 get() = ExperimentalUI .isNewUI()
743741
You can’t perform that action at this time.
0 commit comments