Skip to content

Commit 9318bcc

Browse files
authored
Search Contributions Cleanup (microsoft#165538)
Major cleanup on search contribs/actions, namely: - converting all `Action` and related registrations to `Action2` - Converting the `Actionbar` that appears on hover of a search result to `MenuWorkbenchToolBar` - Overall organization - Converting any `ICommandHandler` to functions if they don't need to be `ICommandHandler` - Adding titles to all search commands
1 parent 838b485 commit 9318bcc

18 files changed

+2135
-1778
lines changed

src/vs/platform/actions/common/actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export class MenuId {
103103
static readonly SCMSourceControl = new MenuId('SCMSourceControl');
104104
static readonly SCMTitle = new MenuId('SCMTitle');
105105
static readonly SearchContext = new MenuId('SearchContext');
106+
static readonly SearchActionMenu = new MenuId('SearchActionContext');
106107
static readonly StatusBarWindowIndicatorMenu = new MenuId('StatusBarWindowIndicatorMenu');
107108
static readonly StatusBarRemoteIndicatorMenu = new MenuId('StatusBarRemoteIndicatorMenu');
108109
static readonly StickyScrollContext = new MenuId('StickyScrollContext');

src/vs/workbench/contrib/search/browser/search.contribution.ts

Lines changed: 17 additions & 941 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)