diff --git a/src/vs/workbench/contrib/files/browser/fileActions.ts b/src/vs/workbench/contrib/files/browser/fileActions.ts index fd10368107682..ed7d292b0d2e1 100644 --- a/src/vs/workbench/contrib/files/browser/fileActions.ts +++ b/src/vs/workbench/contrib/files/browser/fileActions.ts @@ -620,7 +620,10 @@ export class FocusFilesExplorer extends Action2 { id: FocusFilesExplorer.ID, title: FocusFilesExplorer.LABEL, f1: true, - category: Categories.File + category: Categories.File, + metadata: { + description: nls.localize2('focusFilesExplorerMetadata', "Moves focus to the file explorer view container.") + } }); } @@ -640,7 +643,10 @@ export class ShowActiveFileInExplorer extends Action2 { id: ShowActiveFileInExplorer.ID, title: ShowActiveFileInExplorer.LABEL, f1: true, - category: Categories.File + category: Categories.File, + metadata: { + description: nls.localize2('showInExplorerMetadata', "Reveals and selects the active file within the explorer view.") + } }); } @@ -666,7 +672,10 @@ export class OpenActiveFileInEmptyWorkspace extends Action2 { title: OpenActiveFileInEmptyWorkspace.LABEL, f1: true, category: Categories.File, - precondition: EmptyWorkspaceSupportContext + precondition: EmptyWorkspaceSupportContext, + metadata: { + description: nls.localize2('openFileInEmptyWorkspaceMetadata', "Opens the active file in a new window with no folders open.") + } }); } diff --git a/src/vs/workbench/contrib/files/browser/views/explorerView.ts b/src/vs/workbench/contrib/files/browser/views/explorerView.ts index c2cb471a91e66..d8e22884dc841 100644 --- a/src/vs/workbench/contrib/files/browser/views/explorerView.ts +++ b/src/vs/workbench/contrib/files/browser/views/explorerView.ts @@ -1031,6 +1031,9 @@ registerAction2(class extends Action2 { group: 'navigation', when: ContextKeyExpr.equals('view', VIEW_ID), order: 30 + }, + metadata: { + description: nls.localize2('refreshExplorerMetadata', "Forces a refresh of the Explorer.") } }); } @@ -1055,6 +1058,9 @@ registerAction2(class extends Action2 { group: 'navigation', when: ContextKeyExpr.equals('view', VIEW_ID), order: 40 + }, + metadata: { + description: nls.localize2('collapseExplorerFoldersMetadata', "Folds all folders in the Explorer.") } }); } diff --git a/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.ts b/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.ts index 7db257327e435..f1c241a759f23 100644 --- a/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.ts +++ b/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.ts @@ -36,7 +36,10 @@ export class EditorWalkThroughAction extends Action2 { id: EditorWalkThroughAction.ID, title: EditorWalkThroughAction.LABEL, category: Categories.Help, - f1: true + f1: true, + metadata: { + description: localize2('editorWalkThroughMetadata', "Opens an interactive playground for learning about the editor.") + } }); }