提交 9677bba9 编写于 作者: B Benjamin Pasero

fixes #12911

上级 208ae4c0
......@@ -31,7 +31,7 @@ export const SCOPE_PREFIX = ':';
export class GotoSymbolAction extends QuickOpenAction {
public static ID = 'workbench.action.gotoSymbol';
public static LABEL = nls.localize('gotoSymbol', "Go to Symbol...");
public static LABEL = nls.localize('gotoSymbol', "Go to Symbol in File...");
constructor(actionId: string, actionLabel: string, @IQuickOpenService quickOpenService: IQuickOpenService) {
super(actionId, actionLabel, GOTO_SYMBOL_PREFIX, quickOpenService);
......
......@@ -93,7 +93,7 @@ class ExplorerViewerActionContributor extends ActionBarContributor {
}
const ACTION_ID = 'workbench.action.showAllSymbols';
const ACTION_LABEL = nls.localize('showTriggerActions', "Show All Symbols");
const ACTION_LABEL = nls.localize('showTriggerActions', "Go to Symbol in Workspace...");
const ALL_SYMBOLS_PREFIX = '#';
class ShowAllSymbolsAction extends QuickOpenAction {
......@@ -141,7 +141,7 @@ actionBarRegistry.registerActionBarContributor(Scope.VIEWER, ExplorerViewerActio
'vs/workbench/parts/search/browser/openAnythingHandler',
'OpenAnythingHandler',
'',
nls.localize('openAnythingHandlerDescription', "Open Files by Name")
nls.localize('openAnythingHandlerDescription', "Go to File")
)
);
......@@ -154,7 +154,7 @@ actionBarRegistry.registerActionBarContributor(Scope.VIEWER, ExplorerViewerActio
{
prefix: ALL_SYMBOLS_PREFIX,
needsEditor: false,
description: nls.localize('openSymbolDescriptionNormal', "Open Any Symbol By Name")
description: nls.localize('openSymbolDescriptionNormal', "Go to Symbol in Workspace")
}
]
)
......@@ -164,7 +164,7 @@ actionBarRegistry.registerActionBarContributor(Scope.VIEWER, ExplorerViewerActio
const registry = <IWorkbenchActionRegistry>Registry.as(ActionExtensions.WorkbenchActions);
registry.registerWorkbenchAction(new SyncActionDescriptor(ShowAllSymbolsAction, ACTION_ID, ACTION_LABEL, {
primary: KeyMod.CtrlCmd | KeyCode.KEY_T
}), 'Show All Symbols');
}), 'Go to Symbol in Workspace...');
registry.registerWorkbenchAction(new SyncActionDescriptor(searchActions.ShowNextSearchTermAction, searchActions.ShowNextSearchTermAction.ID, searchActions.ShowNextSearchTermAction.LABEL, ShowNextFindTermKeybinding, ContextKeyExpr.and(Constants.SearchViewletVisibleKey, Constants.SearchInputBoxFocussedKey)), '');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册