From 6e740ceccf6b0b18b966745ff9c38c75c76664b0 Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Fri, 24 Jan 2025 11:58:53 +0100 Subject: [PATCH] Accessibility - renamed IAccessibleViewImplentation to IAccessibleViewImplementation (#238652) --- .../editor/contrib/hover/browser/hoverAccessibleViews.ts | 8 ++++---- .../browser/inlineCompletionsAccessibleView.ts | 4 ++-- .../accessibility/browser/accessibleViewRegistry.ts | 8 ++++---- .../parts/notifications/notificationAccessibleView.ts | 4 ++-- .../contrib/chat/browser/actions/chatAccessibilityHelp.ts | 8 ++++---- .../contrib/chat/browser/chatResponseAccessibleView.ts | 4 ++-- .../codeEditor/browser/diffEditorAccessibilityHelp.ts | 4 ++-- .../contrib/comments/browser/commentsAccessibility.ts | 4 ++-- .../contrib/comments/browser/commentsAccessibleView.ts | 6 +++--- .../contrib/debug/browser/replAccessibilityHelp.ts | 4 ++-- .../workbench/contrib/debug/browser/replAccessibleView.ts | 4 ++-- .../contrib/debug/browser/runAndDebugAccessibilityHelp.ts | 4 ++-- .../inlineChat/browser/inlineChatAccessibilityHelp.ts | 4 ++-- .../inlineChat/browser/inlineChatAccessibleView.ts | 4 ++-- .../contrib/notebook/browser/notebookAccessibilityHelp.ts | 4 ++-- .../contrib/notebook/browser/notebookAccessibleView.ts | 4 ++-- .../contrib/notebook/browser/replEditorAccessibleView.ts | 4 ++-- .../replNotebook/browser/replEditorAccessibilityHelp.ts | 6 +++--- .../workbench/contrib/scm/browser/scmAccessibilityHelp.ts | 4 ++-- .../chat/browser/terminalChatAccessibilityHelp.ts | 4 ++-- .../chat/browser/terminalChatAccessibleView.ts | 4 ++-- .../browser/gettingStartedAccessibleView.ts | 4 ++-- 22 files changed, 52 insertions(+), 52 deletions(-) diff --git a/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.ts b/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.ts index ffce8901c85b8..0ffff8a229b7e 100644 --- a/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.ts +++ b/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.ts @@ -6,7 +6,7 @@ import { localize } from '../../../../nls.js'; import { EditorContextKeys } from '../../../common/editorContextKeys.js'; import { ContentHoverController } from './contentHoverController.js'; import { AccessibleViewType, AccessibleViewProviderId, AccessibleContentProvider, IAccessibleViewContentProvider, IAccessibleViewOptions } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { IContextViewService } from '../../../../platform/contextview/browser/contextView.js'; import { IHoverService } from '../../../../platform/hover/browser/hover.js'; import { IInstantiationService, ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; @@ -27,7 +27,7 @@ namespace HoverAccessibilityHelpNLS { export const decreaseVerbosity = localize('decreaseVerbosity', '- The focused hover part verbosity level can be decreased with the Decrease Hover Verbosity command.', ``); } -export class HoverAccessibleView implements IAccessibleViewImplentation { +export class HoverAccessibleView implements IAccessibleViewImplementation { public readonly type = AccessibleViewType.View; public readonly priority = 95; @@ -49,7 +49,7 @@ export class HoverAccessibleView implements IAccessibleViewImplentation { } } -export class HoverAccessibilityHelp implements IAccessibleViewImplentation { +export class HoverAccessibilityHelp implements IAccessibleViewImplementation { public readonly priority = 100; public readonly name = 'hover'; @@ -228,7 +228,7 @@ export class HoverAccessibleViewProvider extends BaseHoverAccessibleViewProvider } } -export class ExtHoverAccessibleView implements IAccessibleViewImplentation { +export class ExtHoverAccessibleView implements IAccessibleViewImplementation { public readonly type = AccessibleViewType.View; public readonly priority = 90; public readonly name = 'extension-hover'; diff --git a/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.ts b/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.ts index 20b6cc6abae1d..0a4e864d2c67f 100644 --- a/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.ts +++ b/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.ts @@ -9,13 +9,13 @@ import { ICodeEditorService } from '../../../browser/services/codeEditorService. import { InlineCompletionContextKeys } from './controller/inlineCompletionContextKeys.js'; import { InlineCompletionsController } from './controller/inlineCompletionsController.js'; import { AccessibleViewType, AccessibleViewProviderId, IAccessibleViewContentProvider } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js'; import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; import { Disposable } from '../../../../base/common/lifecycle.js'; import { InlineCompletionsModel } from './model/inlineCompletionsModel.js'; -export class InlineCompletionsAccessibleView implements IAccessibleViewImplentation { +export class InlineCompletionsAccessibleView implements IAccessibleViewImplementation { readonly type = AccessibleViewType.View; readonly priority = 95; readonly name = 'inline-completions'; diff --git a/src/vs/platform/accessibility/browser/accessibleViewRegistry.ts b/src/vs/platform/accessibility/browser/accessibleViewRegistry.ts index fd643b97def3b..2f98c85f893db 100644 --- a/src/vs/platform/accessibility/browser/accessibleViewRegistry.ts +++ b/src/vs/platform/accessibility/browser/accessibleViewRegistry.ts @@ -8,7 +8,7 @@ import { AccessibleViewType, AccessibleContentProvider, ExtensionContentProvider import { ContextKeyExpression } from '../../contextkey/common/contextkey.js'; import { ServicesAccessor } from '../../instantiation/common/instantiation.js'; -export interface IAccessibleViewImplentation { +export interface IAccessibleViewImplementation { type: AccessibleViewType; priority: number; name: string; @@ -20,9 +20,9 @@ export interface IAccessibleViewImplentation { } export const AccessibleViewRegistry = new class AccessibleViewRegistry { - _implementations: IAccessibleViewImplentation[] = []; + _implementations: IAccessibleViewImplementation[] = []; - register(implementation: IAccessibleViewImplentation): IDisposable { + register(implementation: IAccessibleViewImplementation): IDisposable { this._implementations.push(implementation); return { dispose: () => { @@ -34,7 +34,7 @@ export const AccessibleViewRegistry = new class AccessibleViewRegistry { }; } - getImplementations(): IAccessibleViewImplentation[] { + getImplementations(): IAccessibleViewImplementation[] { return this._implementations; } }; diff --git a/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.ts b/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.ts index 0e206216e580a..723c97a134c91 100644 --- a/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.ts +++ b/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.ts @@ -8,7 +8,7 @@ import { Codicon } from '../../../../base/common/codicons.js'; import { ThemeIcon } from '../../../../base/common/themables.js'; import { localize } from '../../../../nls.js'; import { IAccessibleViewService, AccessibleViewProviderId, AccessibleViewType, AccessibleContentProvider } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { IAccessibilitySignalService, AccessibilitySignal } from '../../../../platform/accessibilitySignal/browser/accessibilitySignalService.js'; import { ICommandService } from '../../../../platform/commands/common/commands.js'; import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; @@ -17,7 +17,7 @@ import { getNotificationFromContext } from './notificationsCommands.js'; import { NotificationFocusedContext } from '../../../common/contextkeys.js'; import { INotificationViewItem } from '../../../common/notifications.js'; -export class NotificationAccessibleView implements IAccessibleViewImplentation { +export class NotificationAccessibleView implements IAccessibleViewImplementation { readonly priority = 90; readonly name = 'notifications'; readonly when = NotificationFocusedContext; diff --git a/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.ts b/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.ts index 098054522798e..5ed43c1ba4334 100644 --- a/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.ts +++ b/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.ts @@ -9,7 +9,7 @@ import { ICodeEditorService } from '../../../../../editor/browser/services/codeE import { AccessibleDiffViewerNext } from '../../../../../editor/browser/widget/diffEditor/commands.js'; import { localize } from '../../../../../nls.js'; import { AccessibleContentProvider, AccessibleViewProviderId, AccessibleViewType } from '../../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ContextKeyExpr } from '../../../../../platform/contextkey/common/contextkey.js'; import { IKeybindingService } from '../../../../../platform/keybinding/common/keybinding.js'; import { ActiveAuxiliaryContext } from '../../../../common/contextkeys.js'; @@ -19,7 +19,7 @@ import { ChatAgentLocation } from '../../common/chatAgents.js'; import { ChatContextKeys } from '../../common/chatContextKeys.js'; import { IChatWidgetService } from '../chat.js'; -export class PanelChatAccessibilityHelp implements IAccessibleViewImplentation { +export class PanelChatAccessibilityHelp implements IAccessibleViewImplementation { readonly priority = 107; readonly name = 'panelChat'; readonly type = AccessibleViewType.Help; @@ -30,7 +30,7 @@ export class PanelChatAccessibilityHelp implements IAccessibleViewImplentation { } } -export class QuickChatAccessibilityHelp implements IAccessibleViewImplentation { +export class QuickChatAccessibilityHelp implements IAccessibleViewImplementation { readonly priority = 107; readonly name = 'quickChat'; readonly type = AccessibleViewType.Help; @@ -41,7 +41,7 @@ export class QuickChatAccessibilityHelp implements IAccessibleViewImplentation { } } -export class EditsChatAccessibilityHelp implements IAccessibleViewImplentation { +export class EditsChatAccessibilityHelp implements IAccessibleViewImplementation { readonly priority = 119; readonly name = 'editsView'; readonly type = AccessibleViewType.Help; diff --git a/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.ts b/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.ts index 75f75066e1bde..5c96d139e1a8c 100644 --- a/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.ts +++ b/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.ts @@ -7,14 +7,14 @@ import { renderMarkdownAsPlaintext } from '../../../../base/browser/markdownRend import { MarkdownString } from '../../../../base/common/htmlContent.js'; import { Disposable } from '../../../../base/common/lifecycle.js'; import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentProvider } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; import { AccessibilityVerbositySettingId } from '../../accessibility/browser/accessibilityConfiguration.js'; import { ChatContextKeys } from '../common/chatContextKeys.js'; import { isResponseVM } from '../common/chatViewModel.js'; import { ChatTreeItem, IChatWidget, IChatWidgetService } from './chat.js'; -export class ChatResponseAccessibleView implements IAccessibleViewImplentation { +export class ChatResponseAccessibleView implements IAccessibleViewImplementation { readonly priority = 100; readonly name = 'panelChat'; readonly type = AccessibleViewType.View; diff --git a/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.ts b/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.ts index f73fd0bd85c45..f2262f6a4980e 100644 --- a/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.ts +++ b/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.ts @@ -8,7 +8,7 @@ import { AccessibleDiffViewerNext, AccessibleDiffViewerPrev } from '../../../../ import { DiffEditorWidget } from '../../../../editor/browser/widget/diffEditor/diffEditorWidget.js'; import { localize } from '../../../../nls.js'; import { AccessibleViewProviderId, AccessibleViewType, AccessibleContentProvider } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ContextKeyEqualsExpr, IContextKeyService } from '../../../../platform/contextkey/common/contextkey.js'; import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; import { IKeybindingService } from '../../../../platform/keybinding/common/keybinding.js'; @@ -16,7 +16,7 @@ import { AccessibilityVerbositySettingId } from '../../accessibility/browser/acc import { getCommentCommandInfo } from '../../accessibility/browser/editorAccessibilityHelp.js'; import { IEditorService } from '../../../services/editor/common/editorService.js'; -export class DiffEditorAccessibilityHelp implements IAccessibleViewImplentation { +export class DiffEditorAccessibilityHelp implements IAccessibleViewImplementation { readonly priority = 105; readonly name = 'diff-editor'; readonly when = ContextKeyEqualsExpr.create('isInDiffEditor', true); diff --git a/src/vs/workbench/contrib/comments/browser/commentsAccessibility.ts b/src/vs/workbench/contrib/comments/browser/commentsAccessibility.ts index 4a52b4036ff31..89a885968f01b 100644 --- a/src/vs/workbench/contrib/comments/browser/commentsAccessibility.ts +++ b/src/vs/workbench/contrib/comments/browser/commentsAccessibility.ts @@ -12,7 +12,7 @@ import { AccessibilityVerbositySettingId } from '../../accessibility/browser/acc import { CommentCommandId } from '../common/commentCommandIds.js'; import { ToggleTabFocusModeAction } from '../../../../editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js'; import { IAccessibleViewContentProvider, AccessibleViewProviderId, IAccessibleViewOptions, AccessibleViewType } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { Disposable } from '../../../../base/common/lifecycle.js'; @@ -44,7 +44,7 @@ export class CommentsAccessibilityHelpProvider extends Disposable implements IAc } } -export class CommentsAccessibilityHelp implements IAccessibleViewImplentation { +export class CommentsAccessibilityHelp implements IAccessibleViewImplementation { readonly priority = 110; readonly name = 'comments'; readonly type = AccessibleViewType.Help; diff --git a/src/vs/workbench/contrib/comments/browser/commentsAccessibleView.ts b/src/vs/workbench/contrib/comments/browser/commentsAccessibleView.ts index 655618ac92c71..c18066cbe58ea 100644 --- a/src/vs/workbench/contrib/comments/browser/commentsAccessibleView.ts +++ b/src/vs/workbench/contrib/comments/browser/commentsAccessibleView.ts @@ -7,7 +7,7 @@ import { Disposable } from '../../../../base/common/lifecycle.js'; import { MarshalledId } from '../../../../base/common/marshallingIds.js'; import { ServicesAccessor } from '../../../../editor/browser/editorExtensions.js'; import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentProvider } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { IMenuService } from '../../../../platform/actions/common/actions.js'; import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.js'; import { AccessibilityVerbositySettingId } from '../../accessibility/browser/accessibilityConfiguration.js'; @@ -24,7 +24,7 @@ import { URI } from '../../../../base/common/uri.js'; import { CommentThread, Comment } from '../../../../editor/common/languages.js'; import { IRange } from '../../../../editor/common/core/range.js'; -export class CommentsAccessibleView extends Disposable implements IAccessibleViewImplentation { +export class CommentsAccessibleView extends Disposable implements IAccessibleViewImplementation { readonly priority = 90; readonly name = 'comment'; readonly when = CONTEXT_KEY_COMMENT_FOCUSED; @@ -50,7 +50,7 @@ export class CommentsAccessibleView extends Disposable implements IAccessibleVie } -export class CommentThreadAccessibleView extends Disposable implements IAccessibleViewImplentation { +export class CommentThreadAccessibleView extends Disposable implements IAccessibleViewImplementation { readonly priority = 85; readonly name = 'commentThread'; readonly when = CommentContextKeys.commentFocused; diff --git a/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.ts b/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.ts index 299374e3154bc..3b994c5e514fb 100644 --- a/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.ts +++ b/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.ts @@ -5,7 +5,7 @@ import { ServicesAccessor } from '../../../../editor/browser/editorExtensions.js'; import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentProvider } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js'; import { Disposable } from '../../../../base/common/lifecycle.js'; import { getReplView, Repl } from './repl.js'; @@ -13,7 +13,7 @@ import { IViewsService } from '../../../services/views/common/viewsService.js'; import { AccessibilityVerbositySettingId } from '../../accessibility/browser/accessibilityConfiguration.js'; import { localize } from '../../../../nls.js'; -export class ReplAccessibilityHelp implements IAccessibleViewImplentation { +export class ReplAccessibilityHelp implements IAccessibleViewImplementation { priority = 120; name = 'replHelp'; when = ContextKeyExpr.equals('focusedView', 'workbench.panel.repl.view'); diff --git a/src/vs/workbench/contrib/debug/browser/replAccessibleView.ts b/src/vs/workbench/contrib/debug/browser/replAccessibleView.ts index 43ec21a1cd3fa..638dd70b513d3 100644 --- a/src/vs/workbench/contrib/debug/browser/replAccessibleView.ts +++ b/src/vs/workbench/contrib/debug/browser/replAccessibleView.ts @@ -6,7 +6,7 @@ import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentProvider, IAccessibleViewService } from '../../../../platform/accessibility/browser/accessibleView.js'; import { AccessibilityVerbositySettingId } from '../../accessibility/browser/accessibilityConfiguration.js'; import { IReplElement } from '../common/debug.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; import { getReplView, Repl } from './repl.js'; import { IViewsService } from '../../../services/views/common/viewsService.js'; @@ -15,7 +15,7 @@ import { Emitter, Event } from '../../../../base/common/event.js'; import { Disposable } from '../../../../base/common/lifecycle.js'; import { Position } from '../../../../editor/common/core/position.js'; -export class ReplAccessibleView implements IAccessibleViewImplentation { +export class ReplAccessibleView implements IAccessibleViewImplementation { priority = 70; name = 'debugConsole'; when = ContextKeyExpr.equals('focusedView', 'workbench.panel.repl.view'); diff --git a/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.ts b/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.ts index 90920dc95c03e..fcdf564b93c05 100644 --- a/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.ts +++ b/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.ts @@ -6,7 +6,7 @@ import { ServicesAccessor } from '../../../../editor/browser/editorExtensions.js'; import { AccessibleViewProviderId, AccessibleViewType, IAccessibleViewContentProvider } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js'; import { Disposable } from '../../../../base/common/lifecycle.js'; import { AccessibilityVerbositySettingId } from '../../accessibility/browser/accessibilityConfiguration.js'; @@ -17,7 +17,7 @@ import { AccessibilityHelpNLS } from '../../../../editor/common/standaloneString import { FocusedViewContext, SidebarFocusContext } from '../../../common/contextkeys.js'; import { BREAKPOINTS_VIEW_ID, CALLSTACK_VIEW_ID, LOADED_SCRIPTS_VIEW_ID, VARIABLES_VIEW_ID, WATCH_VIEW_ID } from '../common/debug.js'; -export class RunAndDebugAccessibilityHelp implements IAccessibleViewImplentation { +export class RunAndDebugAccessibilityHelp implements IAccessibleViewImplementation { priority = 120; name = 'runAndDebugHelp'; when = ContextKeyExpr.or( diff --git a/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.ts b/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.ts index 338697c4b7bd9..bce9724997ca6 100644 --- a/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.ts +++ b/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.ts @@ -6,13 +6,13 @@ import { ServicesAccessor } from '../../../../editor/browser/editorExtensions.js'; import { ICodeEditorService } from '../../../../editor/browser/services/codeEditorService.js'; import { AccessibleViewType } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js'; import { getChatAccessibilityHelpProvider } from '../../chat/browser/actions/chatAccessibilityHelp.js'; import { ChatContextKeys } from '../../chat/common/chatContextKeys.js'; import { CTX_INLINE_CHAT_RESPONSE_FOCUSED } from '../common/inlineChat.js'; -export class InlineChatAccessibilityHelp implements IAccessibleViewImplentation { +export class InlineChatAccessibilityHelp implements IAccessibleViewImplementation { readonly priority = 106; readonly name = 'inlineChat'; readonly type = AccessibleViewType.Help; diff --git a/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.ts b/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.ts index b1d46e25c5a74..3f733e337486b 100644 --- a/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.ts +++ b/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibleView.ts @@ -9,12 +9,12 @@ import { ICodeEditorService } from '../../../../editor/browser/services/codeEdit import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js'; import { AccessibleViewProviderId, AccessibleViewType, AccessibleContentProvider } from '../../../../platform/accessibility/browser/accessibleView.js'; import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { MarkdownString } from '../../../../base/common/htmlContent.js'; import { renderMarkdownAsPlaintext } from '../../../../base/browser/markdownRenderer.js'; import { AccessibilityVerbositySettingId } from '../../accessibility/browser/accessibilityConfiguration.js'; -export class InlineChatAccessibleView implements IAccessibleViewImplentation { +export class InlineChatAccessibleView implements IAccessibleViewImplementation { readonly priority = 100; readonly name = 'inlineChat'; readonly when = ContextKeyExpr.or(CTX_INLINE_CHAT_FOCUSED, CTX_INLINE_CHAT_RESPONSE_FOCUSED); diff --git a/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.ts b/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.ts index 9e2118bcb10ba..45d8a96ba2027 100644 --- a/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.ts +++ b/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.ts @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { IS_COMPOSITE_NOTEBOOK, NOTEBOOK_EDITOR_FOCUSED } from '../common/notebookContextKeys.js'; import { localize } from '../../../../nls.js'; import { ICodeEditor } from '../../../../editor/browser/editorBrowser.js'; @@ -14,7 +14,7 @@ import { IVisibleEditorPane } from '../../../common/editor.js'; import { ICodeEditorService } from '../../../../editor/browser/services/codeEditorService.js'; import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js'; -export class NotebookAccessibilityHelp implements IAccessibleViewImplentation { +export class NotebookAccessibilityHelp implements IAccessibleViewImplementation { readonly priority = 105; readonly name = 'notebook'; readonly when = ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, IS_COMPOSITE_NOTEBOOK.negate()); diff --git a/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.ts b/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.ts index fc8d932181a23..56e6d347e4e2c 100644 --- a/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.ts +++ b/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.ts @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { AccessibleViewProviderId, AccessibleViewType, AccessibleContentProvider } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js'; import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; import { AccessibilityVerbositySettingId } from '../../accessibility/browser/accessibilityConfiguration.js'; @@ -13,7 +13,7 @@ import { IEditorService } from '../../../services/editor/common/editorService.js import { InputFocusedContext } from '../../../../platform/contextkey/common/contextkeys.js'; import { getAllOutputsText } from './viewModel/cellOutputTextHelper.js'; -export class NotebookAccessibleView implements IAccessibleViewImplentation { +export class NotebookAccessibleView implements IAccessibleViewImplementation { readonly priority = 100; readonly name = 'notebook'; readonly type = AccessibleViewType.View; diff --git a/src/vs/workbench/contrib/notebook/browser/replEditorAccessibleView.ts b/src/vs/workbench/contrib/notebook/browser/replEditorAccessibleView.ts index 98184cdfe3aa5..7c55c37b9019c 100644 --- a/src/vs/workbench/contrib/notebook/browser/replEditorAccessibleView.ts +++ b/src/vs/workbench/contrib/notebook/browser/replEditorAccessibleView.ts @@ -5,7 +5,7 @@ import { ServicesAccessor } from '../../../../editor/browser/editorExtensions.js'; import { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js'; import { IEditorService } from '../../../services/editor/common/editorService.js'; import { AccessibilityVerbositySettingId } from '../../accessibility/browser/accessibilityConfiguration.js'; @@ -16,7 +16,7 @@ import { getAllOutputsText } from './viewModel/cellOutputTextHelper.js'; /** * The REPL input is already accessible, so we can show a view for the most recent execution output. */ -export class ReplEditorAccessibleView implements IAccessibleViewImplentation { +export class ReplEditorAccessibleView implements IAccessibleViewImplementation { readonly priority = 100; readonly name = 'replEditorInput'; readonly type = AccessibleViewType.View; diff --git a/src/vs/workbench/contrib/replNotebook/browser/replEditorAccessibilityHelp.ts b/src/vs/workbench/contrib/replNotebook/browser/replEditorAccessibilityHelp.ts index b88e9f6d3554a..e8090a53fe528 100644 --- a/src/vs/workbench/contrib/replNotebook/browser/replEditorAccessibilityHelp.ts +++ b/src/vs/workbench/contrib/replNotebook/browser/replEditorAccessibilityHelp.ts @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js'; import { localize } from '../../../../nls.js'; import { AccessibleViewProviderId, AccessibleViewType, AccessibleContentProvider } from '../../../../platform/accessibility/browser/accessibleView.js'; @@ -11,7 +11,7 @@ import { AccessibilityVerbositySettingId } from '../../accessibility/browser/acc import { ICodeEditorService } from '../../../../editor/browser/services/codeEditorService.js'; import { IS_COMPOSITE_NOTEBOOK, NOTEBOOK_CELL_LIST_FOCUSED } from '../../notebook/common/notebookContextKeys.js'; -export class ReplEditorInputAccessibilityHelp implements IAccessibleViewImplentation { +export class ReplEditorInputAccessibilityHelp implements IAccessibleViewImplementation { readonly priority = 105; readonly name = 'REPL Editor Input'; readonly when = ContextKeyExpr.and(IS_COMPOSITE_NOTEBOOK, NOTEBOOK_CELL_LIST_FOCUSED.negate()); @@ -33,7 +33,7 @@ function getAccessibilityInputHelpText(): string { ].join('\n'); } -export class ReplEditorHistoryAccessibilityHelp implements IAccessibleViewImplentation { +export class ReplEditorHistoryAccessibilityHelp implements IAccessibleViewImplementation { readonly priority = 105; readonly name = 'REPL Editor History'; readonly when = ContextKeyExpr.and(IS_COMPOSITE_NOTEBOOK, NOTEBOOK_CELL_LIST_FOCUSED); diff --git a/src/vs/workbench/contrib/scm/browser/scmAccessibilityHelp.ts b/src/vs/workbench/contrib/scm/browser/scmAccessibilityHelp.ts index 73e17ce8c49c7..3126416fcfd1c 100644 --- a/src/vs/workbench/contrib/scm/browser/scmAccessibilityHelp.ts +++ b/src/vs/workbench/contrib/scm/browser/scmAccessibilityHelp.ts @@ -6,7 +6,7 @@ import { Disposable } from '../../../../base/common/lifecycle.js'; import { localize } from '../../../../nls.js'; import { AccessibleViewType, AccessibleContentProvider, IAccessibleViewContentProvider, AccessibleViewProviderId } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ICommandService } from '../../../../platform/commands/common/commands.js'; import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js'; import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; @@ -15,7 +15,7 @@ import { IViewsService } from '../../../services/views/common/viewsService.js'; import { AccessibilityVerbositySettingId } from '../../accessibility/browser/accessibilityConfiguration.js'; import { HISTORY_VIEW_PANE_ID, ISCMViewService, REPOSITORIES_VIEW_PANE_ID, VIEW_PANE_ID } from '../common/scm.js'; -export class SCMAccessibilityHelp implements IAccessibleViewImplentation { +export class SCMAccessibilityHelp implements IAccessibleViewImplementation { readonly name = 'scm'; readonly type = AccessibleViewType.Help; readonly priority = 100; diff --git a/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.ts b/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.ts index 5017c56364db2..1b62a8d1b9301 100644 --- a/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.ts +++ b/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.ts @@ -5,7 +5,7 @@ import { localize } from '../../../../../nls.js'; import { AccessibleViewProviderId, AccessibleViewType, AccessibleContentProvider } from '../../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ServicesAccessor } from '../../../../../platform/instantiation/common/instantiation.js'; import { IKeybindingService } from '../../../../../platform/keybinding/common/keybinding.js'; import { AccessibilityVerbositySettingId } from '../../../accessibility/browser/accessibilityConfiguration.js'; @@ -13,7 +13,7 @@ import { ITerminalService } from '../../../terminal/browser/terminal.js'; import { TerminalChatCommandId, TerminalChatContextKeys } from './terminalChat.js'; import { TerminalChatController } from './terminalChatController.js'; -export class TerminalChatAccessibilityHelp implements IAccessibleViewImplentation { +export class TerminalChatAccessibilityHelp implements IAccessibleViewImplementation { readonly priority = 110; readonly name = 'terminalChat'; readonly when = TerminalChatContextKeys.focused; diff --git a/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.ts b/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.ts index d864fcbd0bf31..734ac7e62a66d 100644 --- a/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.ts +++ b/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.ts @@ -7,13 +7,13 @@ import { AccessibleViewProviderId, AccessibleViewType, AccessibleContentProvider import { AccessibilityVerbositySettingId } from '../../../accessibility/browser/accessibilityConfiguration.js'; import { ITerminalService } from '../../../terminal/browser/terminal.js'; import { TerminalChatController } from './terminalChatController.js'; -import { IAccessibleViewImplentation } from '../../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { ServicesAccessor } from '../../../../../platform/instantiation/common/instantiation.js'; import { IMenuService, MenuItemAction } from '../../../../../platform/actions/common/actions.js'; import { MENU_TERMINAL_CHAT_WIDGET_STATUS, TerminalChatContextKeys } from './terminalChat.js'; import { IAction } from '../../../../../base/common/actions.js'; -export class TerminalInlineChatAccessibleView implements IAccessibleViewImplentation { +export class TerminalInlineChatAccessibleView implements IAccessibleViewImplementation { readonly priority = 105; readonly name = 'terminalInlineChat'; readonly type = AccessibleViewType.View; diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.ts b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.ts index b7de7bccf06ea..e1d9858430bab 100644 --- a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.ts +++ b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.ts @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { AccessibleViewType, AccessibleContentProvider, ExtensionContentProvider, IAccessibleViewContentProvider, AccessibleViewProviderId } from '../../../../platform/accessibility/browser/accessibleView.js'; -import { IAccessibleViewImplentation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; +import { IAccessibleViewImplementation } from '../../../../platform/accessibility/browser/accessibleViewRegistry.js'; import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.js'; import { ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; import { GettingStartedPage, inWelcomeContext } from './gettingStarted.js'; @@ -22,7 +22,7 @@ import { IOpenerService } from '../../../../platform/opener/common/opener.js'; import { ThemeIcon } from '../../../../base/common/themables.js'; import { Codicon } from '../../../../base/common/codicons.js'; -export class GettingStartedAccessibleView implements IAccessibleViewImplentation { +export class GettingStartedAccessibleView implements IAccessibleViewImplementation { readonly type = AccessibleViewType.View; readonly priority = 110; readonly name = 'walkthroughs';