@codingame/monaco-vscode-accessibility-service-override 11.1.2 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -1
- package/index.js +28 -1
- package/package.json +26 -8
- package/vscode/src/vs/platform/accessibilitySignal/browser/media/all.mp3.js +5 -5
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibility.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibility.contribution.js +14 -11
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityStatus.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityStatus.js +20 -17
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.d.ts +126 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +136 -127
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewContributions.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewContributions.js +3 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewKeybindingResolver.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewKeybindingResolver.js +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/extensionAccesibilityHelp.contribution.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/extensionAccesibilityHelp.contribution.js +5 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/unfocusedViewDimmingContribution.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/unfocusedViewDimmingContribution.js +7 -5
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +5 -3
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.js +2 -1
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +19 -18
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/editorTextPropertySignalsContribution.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/editorTextPropertySignalsContribution.js +5 -3
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/openDiffEditorAnnouncement.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/openDiffEditorAnnouncement.js +11 -9
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/saveAccessibilitySignal.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/saveAccessibilitySignal.js +4 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/accessibility/accessibility.js +12 -8
- package/vscode/src/vs/workbench/contrib/speech/browser/speechAccessibilitySignal.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/speech/browser/speechAccessibilitySignal.js +2 -1
- package/vscode/src/vs/workbench/services/accessibility/common/accessibleViewInformationService.d.ts +9 -0
- package/vscode/src/vs/workbench/services/accessibility/common/accessibleViewInformationService.js +4 -2
- package/accessibility.js +0 -26
- /package/assets/{chatRequestSent.mp3 → requestSent.mp3} +0 -0
- /package/assets/{chatResponseReceived1.mp3 → responseReceived1.mp3} +0 -0
- /package/assets/{chatResponseReceived2.mp3 → responseReceived2.mp3} +0 -0
- /package/assets/{chatResponseReceived3.mp3 → responseReceived3.mp3} +0 -0
- /package/assets/{chatResponseReceived4.mp3 → responseReceived4.mp3} +0 -0
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
2
3
|
import { getActiveWindow, addDisposableListener, EventType, isActiveElement } from 'vscode/vscode/vs/base/browser/dom';
|
|
3
4
|
import { StandardKeyboardEvent } from 'vscode/vscode/vs/base/browser/keyboardEvent';
|
|
5
|
+
import { ActionsOrientation } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionbar';
|
|
4
6
|
import { alert } from 'vscode/vscode/vs/base/browser/ui/aria/aria';
|
|
5
7
|
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
8
|
+
import { KeyCode } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
6
9
|
import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
7
10
|
import { marked } from 'marked';
|
|
8
11
|
import { isWindows, isMacintosh } from 'vscode/vscode/vs/base/common/platform';
|
|
@@ -15,10 +18,10 @@ import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
|
15
18
|
import { AccessibilityHelpNLS } from 'vscode/vscode/vs/editor/common/standaloneStrings';
|
|
16
19
|
import { CodeActionController } from 'vscode/vscode/vs/editor/contrib/codeAction/browser/codeActionController';
|
|
17
20
|
import { localize } from 'vscode/vscode/vs/nls';
|
|
18
|
-
import { AccessibleContentProvider, ExtensionContentProvider } from 'vscode/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
21
|
+
import { AccessibleContentProvider, AccessibleViewProviderId, ExtensionContentProvider, AccessibleViewType } from 'vscode/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
19
22
|
import { ACCESSIBLE_VIEW_SHOWN_STORAGE_PREFIX } from 'vscode/vscode/vs/platform/accessibility/common/accessibility';
|
|
20
23
|
import { IAccessibilityService } from 'vscode/vscode/vs/platform/accessibility/common/accessibility.service';
|
|
21
|
-
import {
|
|
24
|
+
import { getFlatActionBarActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
22
25
|
import { WorkbenchToolBar } from 'vscode/vscode/vs/platform/actions/browser/toolbar';
|
|
23
26
|
import { MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
24
27
|
import { IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions.service';
|
|
@@ -28,17 +31,24 @@ import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/
|
|
|
28
31
|
import { IContextViewService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
29
32
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
30
33
|
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
34
|
+
import { ResultKind } from 'vscode/vscode/vs/platform/keybinding/common/keybindingResolver';
|
|
31
35
|
import { ILayoutService } from 'vscode/vscode/vs/platform/layout/browser/layoutService.service';
|
|
32
36
|
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
|
|
33
37
|
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
38
|
+
import { StorageScope, StorageTarget } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
34
39
|
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
35
|
-
import { accessibilityHelpIsShown, accessibleViewIsShown, accessibleViewSupportsNavigation, accessibleViewVerbosityEnabled, accessibleViewGoToSymbolSupported, accessibleViewCurrentProviderId, accessibleViewInCodeBlock, accessibleViewContainsCodeBlocks, accessibleViewOnLastLine, accessibleViewHasUnassignedKeybindings, accessibleViewHasAssignedKeybindings } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
40
|
+
import { accessibilityHelpIsShown, accessibleViewIsShown, accessibleViewSupportsNavigation, accessibleViewVerbosityEnabled, accessibleViewGoToSymbolSupported, accessibleViewCurrentProviderId, accessibleViewInCodeBlock, accessibleViewContainsCodeBlocks, accessibleViewOnLastLine, accessibleViewHasUnassignedKeybindings, accessibleViewHasAssignedKeybindings, AccessibilityWorkbenchSettingId } from 'vscode/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
36
41
|
import { resolveContentAndKeybindingItems } from './accessibleViewKeybindingResolver.js';
|
|
42
|
+
import { AccessibilityCommandId } from 'vscode/vscode/vs/workbench/contrib/accessibility/common/accessibilityCommands';
|
|
37
43
|
import { IChatCodeBlockContextProviderService } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
38
|
-
import { getSimpleEditorOptions } from 'vscode/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
|
|
44
|
+
import { getSimpleEditorOptions } from '@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
|
|
39
45
|
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
40
46
|
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
41
47
|
|
|
48
|
+
var DIMENSIONS;
|
|
49
|
+
(function (DIMENSIONS) {
|
|
50
|
+
DIMENSIONS[DIMENSIONS["MAX_WIDTH"] = 600] = "MAX_WIDTH";
|
|
51
|
+
})(DIMENSIONS || (DIMENSIONS = {}));
|
|
42
52
|
let AccessibleView = class AccessibleView extends Disposable {
|
|
43
53
|
get editorWidget() { return this._editorWidget; }
|
|
44
54
|
constructor(_openerService, _instantiationService, _configurationService, _modelService, _contextViewService, _contextKeyService, _accessibilityService, _keybindingService, _layoutService, _menuService, _commandService, _codeBlockContextProviderService, _storageService, textModelResolverService, _quickInputService) {
|
|
@@ -72,7 +82,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
72
82
|
this._hasAssignedKeybindings = accessibleViewHasAssignedKeybindings.bindTo(this._contextKeyService);
|
|
73
83
|
this._container = document.createElement('div');
|
|
74
84
|
this._container.classList.add('accessible-view');
|
|
75
|
-
if (this._configurationService.getValue(
|
|
85
|
+
if (this._configurationService.getValue(AccessibilityWorkbenchSettingId.HideAccessibleView)) {
|
|
76
86
|
this._container.classList.add('hide');
|
|
77
87
|
}
|
|
78
88
|
const codeEditorWidgetOptions = {
|
|
@@ -87,7 +97,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
87
97
|
actionBar.classList.add('accessible-view-action-bar');
|
|
88
98
|
titleBar.appendChild(actionBar);
|
|
89
99
|
this._container.appendChild(titleBar);
|
|
90
|
-
this._toolbar = this._register(_instantiationService.createInstance(WorkbenchToolBar, actionBar, { orientation:
|
|
100
|
+
this._toolbar = this._register(_instantiationService.createInstance(WorkbenchToolBar, actionBar, { orientation: ActionsOrientation.HORIZONTAL }));
|
|
91
101
|
this._toolbar.context = { viewId: 'accessibleView' };
|
|
92
102
|
const toolbarElt = this._toolbar.getElement();
|
|
93
103
|
toolbarElt.tabIndex = 0;
|
|
@@ -121,8 +131,8 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
121
131
|
this._accessibleViewVerbosityEnabled.set(this._configurationService.getValue(this._currentProvider.verbositySettingKey));
|
|
122
132
|
this._updateToolbar(this._currentProvider.actions, this._currentProvider.options.type);
|
|
123
133
|
}
|
|
124
|
-
if (e.affectsConfiguration(
|
|
125
|
-
this._container.classList.toggle('hide', this._configurationService.getValue(
|
|
134
|
+
if (e.affectsConfiguration(AccessibilityWorkbenchSettingId.HideAccessibleView)) {
|
|
135
|
+
this._container.classList.toggle('hide', this._configurationService.getValue(AccessibilityWorkbenchSettingId.HideAccessibleView));
|
|
126
136
|
}
|
|
127
137
|
}));
|
|
128
138
|
this._register(this._editorWidget.onDidDispose(() => this._resetContextKeys()));
|
|
@@ -196,7 +206,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
196
206
|
if (!codeBlock) {
|
|
197
207
|
return;
|
|
198
208
|
}
|
|
199
|
-
this.setPosition((
|
|
209
|
+
this.setPosition(( new Position(codeBlock.startLine, 1)), true);
|
|
200
210
|
}
|
|
201
211
|
showLastProvider(id) {
|
|
202
212
|
if (!this._lastProvider || this._lastProvider.options.id !== id) {
|
|
@@ -211,7 +221,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
211
221
|
}
|
|
212
222
|
provider.onOpen?.();
|
|
213
223
|
const delegate = {
|
|
214
|
-
getAnchor: () => { return { x: (getActiveWindow().innerWidth / 2) - ((Math.min(this._layoutService.activeContainerDimension.width * 0.62 ,
|
|
224
|
+
getAnchor: () => { return { x: (getActiveWindow().innerWidth / 2) - ((Math.min(this._layoutService.activeContainerDimension.width * 0.62 , DIMENSIONS.MAX_WIDTH)) / 2), y: this._layoutService.activeContainerOffset.quickPickTop }; },
|
|
215
225
|
render: (container) => {
|
|
216
226
|
this._viewContainer = container;
|
|
217
227
|
this._viewContainer.classList.add('accessible-view-container');
|
|
@@ -246,11 +256,11 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
246
256
|
if (provider.options.id) {
|
|
247
257
|
this._lastProvider = provider;
|
|
248
258
|
}
|
|
249
|
-
if (provider.id ===
|
|
259
|
+
if (provider.id === AccessibleViewProviderId.PanelChat || provider.id === AccessibleViewProviderId.QuickChat) {
|
|
250
260
|
this._register(this._codeBlockContextProviderService.registerProvider({ getCodeBlockContext: () => this.getCodeBlockContext() }, 'accessibleView'));
|
|
251
261
|
}
|
|
252
262
|
if (provider instanceof ExtensionContentProvider) {
|
|
253
|
-
this._storageService.store(`${ACCESSIBLE_VIEW_SHOWN_STORAGE_PREFIX}${provider.id}`, true,
|
|
263
|
+
this._storageService.store(`${ACCESSIBLE_VIEW_SHOWN_STORAGE_PREFIX}${provider.id}`, true, StorageScope.APPLICATION, StorageTarget.USER);
|
|
254
264
|
}
|
|
255
265
|
if (provider.onDidChangeContent) {
|
|
256
266
|
this._register(provider.onDidChangeContent(() => {
|
|
@@ -278,7 +288,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
278
288
|
if (!this._currentProvider) {
|
|
279
289
|
return false;
|
|
280
290
|
}
|
|
281
|
-
return this._currentProvider instanceof AccessibleContentProvider ? this._configurationService.getValue(this._currentProvider.verbositySettingKey) === true : this._storageService.getBoolean(`${ACCESSIBLE_VIEW_SHOWN_STORAGE_PREFIX}${this._currentProvider.id}`,
|
|
291
|
+
return this._currentProvider instanceof AccessibleContentProvider ? this._configurationService.getValue(this._currentProvider.verbositySettingKey) === true : this._storageService.getBoolean(`${ACCESSIBLE_VIEW_SHOWN_STORAGE_PREFIX}${this._currentProvider.id}`, StorageScope.APPLICATION, false);
|
|
282
292
|
}
|
|
283
293
|
goToSymbol() {
|
|
284
294
|
if (!this._currentProvider) {
|
|
@@ -290,7 +300,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
290
300
|
if (!markdown) {
|
|
291
301
|
return;
|
|
292
302
|
}
|
|
293
|
-
if (this._currentProvider?.id !==
|
|
303
|
+
if (this._currentProvider?.id !== AccessibleViewProviderId.PanelChat && this._currentProvider?.id !== AccessibleViewProviderId.QuickChat) {
|
|
294
304
|
return;
|
|
295
305
|
}
|
|
296
306
|
if (this._currentProvider.options.language && this._currentProvider.options.language !== 'markdown') {
|
|
@@ -339,7 +349,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
339
349
|
if (!this._currentProvider?.options.readMoreUrl) {
|
|
340
350
|
return;
|
|
341
351
|
}
|
|
342
|
-
this._openerService.open((
|
|
352
|
+
this._openerService.open(( URI.parse(this._currentProvider.options.readMoreUrl)));
|
|
343
353
|
}
|
|
344
354
|
configureKeybindings(unassigned) {
|
|
345
355
|
this._inQuickPick = true;
|
|
@@ -348,11 +358,11 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
348
358
|
if (!items) {
|
|
349
359
|
return;
|
|
350
360
|
}
|
|
351
|
-
const disposables = this._register((
|
|
361
|
+
const disposables = this._register(( new DisposableStore()));
|
|
352
362
|
const quickPick = disposables.add(this._quickInputService.createQuickPick());
|
|
353
363
|
quickPick.items = items;
|
|
354
|
-
quickPick.title = ( localize(
|
|
355
|
-
quickPick.placeholder = ( localize(
|
|
364
|
+
quickPick.title = ( localize(4010, 'Configure keybindings'));
|
|
365
|
+
quickPick.placeholder = ( localize(4011, 'Select a command ID to configure a keybinding for it'));
|
|
356
366
|
quickPick.show();
|
|
357
367
|
disposables.add(quickPick.onDidAccept(async () => {
|
|
358
368
|
const item = quickPick.selectedItems[0];
|
|
@@ -386,13 +396,13 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
386
396
|
break;
|
|
387
397
|
}
|
|
388
398
|
firstListItem = `- ${firstItem.text}`;
|
|
389
|
-
label = (
|
|
399
|
+
label = ( token.items.map(i => i.text)).join(', ');
|
|
390
400
|
break;
|
|
391
401
|
}
|
|
392
402
|
}
|
|
393
403
|
}
|
|
394
404
|
if (label) {
|
|
395
|
-
symbols.push({ markdownToParse: label, label: ( localize(
|
|
405
|
+
symbols.push({ markdownToParse: label, label: ( localize(4012, "({0}) {1}", token.type, label)), ariaLabel: ( localize(4013, "({0}) {1}", token.type, label)), firstListItem });
|
|
396
406
|
firstListItem = undefined;
|
|
397
407
|
}
|
|
398
408
|
}
|
|
@@ -424,13 +434,13 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
424
434
|
}
|
|
425
435
|
this._configurationService.updateValue(this._currentProvider?.verbositySettingKey, false);
|
|
426
436
|
alert(( localize(
|
|
427
|
-
|
|
437
|
+
4014,
|
|
428
438
|
'{0} accessibility verbosity is now disabled',
|
|
429
439
|
this._currentProvider.verbositySettingKey
|
|
430
440
|
)));
|
|
431
441
|
}
|
|
432
442
|
_updateContextKeys(provider, shown) {
|
|
433
|
-
if (provider.options.type ===
|
|
443
|
+
if (provider.options.type === AccessibleViewType.Help) {
|
|
434
444
|
this._accessiblityHelpIsShown.set(shown);
|
|
435
445
|
this._accessibleViewIsShown.reset();
|
|
436
446
|
}
|
|
@@ -444,7 +454,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
444
454
|
}
|
|
445
455
|
_updateContent(provider, updatedContent) {
|
|
446
456
|
let content = updatedContent ?? provider.provideContent();
|
|
447
|
-
if (provider.options.type ===
|
|
457
|
+
if (provider.options.type === AccessibleViewType.View) {
|
|
448
458
|
this._currentContent = content;
|
|
449
459
|
this._hasUnassignedKeybindings.reset();
|
|
450
460
|
this._hasAssignedKeybindings.reset();
|
|
@@ -486,9 +496,9 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
486
496
|
this.calculateCodeBlocks(this._currentContent);
|
|
487
497
|
this._updateContextKeys(provider, true);
|
|
488
498
|
const widgetIsFocused = this._editorWidget.hasTextFocus() || this._editorWidget.hasWidgetFocus();
|
|
489
|
-
this._getTextModel((
|
|
499
|
+
this._getTextModel(( URI.from(
|
|
490
500
|
{ path: `accessible-view-${provider.id}`, scheme: Schemas.accessibleView, fragment: this._currentContent }
|
|
491
|
-
)))
|
|
501
|
+
))).then((model) => {
|
|
492
502
|
if (!model) {
|
|
493
503
|
return;
|
|
494
504
|
}
|
|
@@ -503,17 +513,17 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
503
513
|
const hasActions = this._accessibleViewSupportsNavigation.get() || this._accessibleViewVerbosityEnabled.get() || this._accessibleViewGoToSymbolSupported.get() || provider.actions?.length;
|
|
504
514
|
if (verbose && !showAccessibleViewHelp && hasActions) {
|
|
505
515
|
actionsHint = provider.options.position ? ( localize(
|
|
506
|
-
|
|
516
|
+
4015,
|
|
507
517
|
'Explore actions such as disabling this hint (Shift+Tab), use Escape to exit this dialog.'
|
|
508
|
-
)) : ( localize(
|
|
518
|
+
)) : ( localize(4016, 'Explore actions such as disabling this hint (Shift+Tab).'));
|
|
509
519
|
}
|
|
510
|
-
let ariaLabel = provider.options.type ===
|
|
520
|
+
let ariaLabel = provider.options.type === AccessibleViewType.Help ? ( localize(4017, "Accessibility Help")) : ( localize(4018, "Accessible View"));
|
|
511
521
|
this._title.textContent = ariaLabel;
|
|
512
|
-
if (actionsHint && provider.options.type ===
|
|
513
|
-
ariaLabel = ( localize(
|
|
522
|
+
if (actionsHint && provider.options.type === AccessibleViewType.View) {
|
|
523
|
+
ariaLabel = ( localize(4019, "Accessible View, {0}", actionsHint));
|
|
514
524
|
}
|
|
515
525
|
else if (actionsHint) {
|
|
516
|
-
ariaLabel = ( localize(
|
|
526
|
+
ariaLabel = ( localize(4020, "Accessibility Help, {0}", actionsHint));
|
|
517
527
|
}
|
|
518
528
|
if (isWindows && widgetIsFocused) {
|
|
519
529
|
ariaLabel = '';
|
|
@@ -525,7 +535,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
525
535
|
const isDefaultPosition = position?.lineNumber === 1 && position.column === 1;
|
|
526
536
|
if (this._currentProvider.options.position === 'bottom' || this._currentProvider.options.position === 'initial-bottom' && isDefaultPosition) {
|
|
527
537
|
const lastLine = this.editorWidget.getModel()?.getLineCount();
|
|
528
|
-
const position = lastLine !== undefined && lastLine > 0 ? (
|
|
538
|
+
const position = lastLine !== undefined && lastLine > 0 ? ( new Position(lastLine, 1)) : undefined;
|
|
529
539
|
if (position) {
|
|
530
540
|
this._editorWidget.setPosition(position);
|
|
531
541
|
this._editorWidget.revealLine(position.lineNumber);
|
|
@@ -546,18 +556,18 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
546
556
|
this._currentProvider?.dispose();
|
|
547
557
|
this._currentProvider = undefined;
|
|
548
558
|
};
|
|
549
|
-
const disposableStore = (
|
|
559
|
+
const disposableStore = ( new DisposableStore());
|
|
550
560
|
disposableStore.add(this._editorWidget.onKeyDown((e) => {
|
|
551
|
-
if (e.keyCode ===
|
|
561
|
+
if (e.keyCode === KeyCode.Enter) {
|
|
552
562
|
this._commandService.executeCommand('editor.action.openLink');
|
|
553
563
|
}
|
|
554
|
-
else if (e.keyCode ===
|
|
564
|
+
else if (e.keyCode === KeyCode.Escape || shouldHide(e.browserEvent, this._keybindingService, this._configurationService)) {
|
|
555
565
|
hide(e);
|
|
556
566
|
}
|
|
557
|
-
else if (e.keyCode ===
|
|
567
|
+
else if (e.keyCode === KeyCode.KeyH && provider.options.readMoreUrl) {
|
|
558
568
|
const url = provider.options.readMoreUrl;
|
|
559
569
|
alert(AccessibilityHelpNLS.openingDocs);
|
|
560
|
-
this._openerService.open((
|
|
570
|
+
this._openerService.open(( URI.parse(url)));
|
|
561
571
|
e.preventDefault();
|
|
562
572
|
e.stopPropagation();
|
|
563
573
|
}
|
|
@@ -566,8 +576,8 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
566
576
|
}
|
|
567
577
|
}));
|
|
568
578
|
disposableStore.add(addDisposableListener(this._toolbar.getElement(), EventType.KEY_DOWN, (e) => {
|
|
569
|
-
const keyboardEvent = (
|
|
570
|
-
if (keyboardEvent.equals(
|
|
579
|
+
const keyboardEvent = ( new StandardKeyboardEvent(e));
|
|
580
|
+
if (keyboardEvent.equals(KeyCode.Escape)) {
|
|
571
581
|
hide(e);
|
|
572
582
|
}
|
|
573
583
|
}));
|
|
@@ -581,10 +591,9 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
581
591
|
return disposableStore;
|
|
582
592
|
}
|
|
583
593
|
_updateToolbar(providedActions, type) {
|
|
584
|
-
this._toolbar.setAriaLabel(type ===
|
|
585
|
-
const menuActions = [];
|
|
594
|
+
this._toolbar.setAriaLabel(type === AccessibleViewType.Help ? ( localize(4021, 'Accessibility Help')) : ( localize(4022, "Accessible View")));
|
|
586
595
|
const toolbarMenu = this._register(this._menuService.createMenu(MenuId.AccessibleView, this._contextKeyService));
|
|
587
|
-
|
|
596
|
+
const menuActions = getFlatActionBarActions(toolbarMenu.getActions({}));
|
|
588
597
|
if (providedActions) {
|
|
589
598
|
for (const providedAction of providedActions) {
|
|
590
599
|
providedAction.class = providedAction.class || ThemeIcon.asClassName(Codicon.primitiveSquare);
|
|
@@ -600,7 +609,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
600
609
|
const dimension = this._layoutService.activeContainerDimension;
|
|
601
610
|
const maxHeight = dimension.height && dimension.height * .4;
|
|
602
611
|
const height = Math.min(maxHeight, this._editorWidget.getContentHeight());
|
|
603
|
-
const width = Math.min(dimension.width * 0.62 ,
|
|
612
|
+
const width = Math.min(dimension.width * 0.62 , DIMENSIONS.MAX_WIDTH);
|
|
604
613
|
this._editorWidget.layout({ width, height });
|
|
605
614
|
}
|
|
606
615
|
async _getTextModel(resource) {
|
|
@@ -614,14 +623,14 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
614
623
|
if (!this._currentProvider) {
|
|
615
624
|
return false;
|
|
616
625
|
}
|
|
617
|
-
return this._currentProvider.options.type ===
|
|
626
|
+
return this._currentProvider.options.type === AccessibleViewType.Help || this._currentProvider.options.language === 'markdown' || this._currentProvider.options.language === undefined || (this._currentProvider instanceof AccessibleContentProvider && !!this._currentProvider.getSymbols?.());
|
|
618
627
|
}
|
|
619
628
|
_updateLastProvider() {
|
|
620
629
|
const provider = this._currentProvider;
|
|
621
630
|
if (!provider) {
|
|
622
631
|
return;
|
|
623
632
|
}
|
|
624
|
-
const lastProvider = provider instanceof AccessibleContentProvider ? (
|
|
633
|
+
const lastProvider = provider instanceof AccessibleContentProvider ? ( new AccessibleContentProvider(
|
|
625
634
|
provider.id,
|
|
626
635
|
provider.options,
|
|
627
636
|
provider.provideContent.bind(provider),
|
|
@@ -634,7 +643,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
634
643
|
provider.onDidChangeContent?.bind(provider),
|
|
635
644
|
provider.onKeyDown?.bind(provider),
|
|
636
645
|
provider.getSymbols?.bind(provider)
|
|
637
|
-
))
|
|
646
|
+
)) : ( new ExtensionContentProvider(
|
|
638
647
|
provider.id,
|
|
639
648
|
provider.options,
|
|
640
649
|
provider.provideContent.bind(provider),
|
|
@@ -644,7 +653,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
644
653
|
provider.providePreviousContent?.bind(provider),
|
|
645
654
|
provider.actions,
|
|
646
655
|
provider.onDidChangeContent?.bind(provider)
|
|
647
|
-
))
|
|
656
|
+
));
|
|
648
657
|
return lastProvider;
|
|
649
658
|
}
|
|
650
659
|
showAccessibleViewHelp() {
|
|
@@ -654,27 +663,27 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
654
663
|
}
|
|
655
664
|
let accessibleViewHelpProvider;
|
|
656
665
|
if (lastProvider instanceof AccessibleContentProvider) {
|
|
657
|
-
accessibleViewHelpProvider = (
|
|
666
|
+
accessibleViewHelpProvider = ( new AccessibleContentProvider(
|
|
658
667
|
lastProvider.id,
|
|
659
|
-
{ type:
|
|
668
|
+
{ type: AccessibleViewType.Help },
|
|
660
669
|
() => lastProvider.options.customHelp ? lastProvider?.options.customHelp() : this._accessibleViewHelpDialogContent(this._goToSymbolsSupported()),
|
|
661
670
|
() => {
|
|
662
671
|
this._contextViewService.hideContextView();
|
|
663
672
|
queueMicrotask(() => this.show(lastProvider));
|
|
664
673
|
},
|
|
665
674
|
lastProvider.verbositySettingKey
|
|
666
|
-
))
|
|
675
|
+
));
|
|
667
676
|
}
|
|
668
677
|
else {
|
|
669
|
-
accessibleViewHelpProvider = (
|
|
678
|
+
accessibleViewHelpProvider = ( new ExtensionContentProvider(
|
|
670
679
|
lastProvider.id,
|
|
671
|
-
{ type:
|
|
680
|
+
{ type: AccessibleViewType.Help },
|
|
672
681
|
() => lastProvider.options.customHelp ? lastProvider?.options.customHelp() : this._accessibleViewHelpDialogContent(this._goToSymbolsSupported()),
|
|
673
682
|
() => {
|
|
674
683
|
this._contextViewService.hideContextView();
|
|
675
684
|
queueMicrotask(() => this.show(lastProvider));
|
|
676
685
|
}
|
|
677
|
-
))
|
|
686
|
+
));
|
|
678
687
|
}
|
|
679
688
|
this._contextViewService.hideContextView();
|
|
680
689
|
if (accessibleViewHelpProvider) {
|
|
@@ -684,9 +693,9 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
684
693
|
_accessibleViewHelpDialogContent(providerHasSymbols) {
|
|
685
694
|
const navigationHint = this._navigationHint();
|
|
686
695
|
const goToSymbolHint = this._goToSymbolHint(providerHasSymbols);
|
|
687
|
-
const toolbarHint = ( localize(
|
|
696
|
+
const toolbarHint = ( localize(4023, "Navigate to the toolbar (Shift+Tab)."));
|
|
688
697
|
const chatHints = this._getChatHints();
|
|
689
|
-
let hint = ( localize(
|
|
698
|
+
let hint = ( localize(4024, "In the accessible view, you can:\n"));
|
|
690
699
|
if (navigationHint) {
|
|
691
700
|
hint += ' - ' + navigationHint + '\n';
|
|
692
701
|
}
|
|
@@ -702,40 +711,40 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
702
711
|
return hint;
|
|
703
712
|
}
|
|
704
713
|
_getChatHints() {
|
|
705
|
-
if (this._currentProvider?.id !==
|
|
714
|
+
if (this._currentProvider?.id !== AccessibleViewProviderId.PanelChat && this._currentProvider?.id !== AccessibleViewProviderId.QuickChat) {
|
|
706
715
|
return;
|
|
707
716
|
}
|
|
708
717
|
return [( localize(
|
|
709
|
-
|
|
718
|
+
4025,
|
|
710
719
|
" - Insert the code block at the cursor{0}.",
|
|
711
720
|
'<keybinding:workbench.action.chat.insertCodeBlock>'
|
|
712
721
|
)),
|
|
713
722
|
( localize(
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
723
|
+
4026,
|
|
724
|
+
" - Insert the code block into a new file{0}.",
|
|
725
|
+
'<keybinding:workbench.action.chat.insertIntoNewFile>'
|
|
726
|
+
)),
|
|
718
727
|
( localize(
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
728
|
+
4027,
|
|
729
|
+
" - Run the code block in the terminal{0}.\n",
|
|
730
|
+
'<keybinding:workbench.action.chat.runInTerminal>'
|
|
731
|
+
))].join('\n');
|
|
723
732
|
}
|
|
724
733
|
_navigationHint() {
|
|
725
|
-
return
|
|
726
|
-
|
|
734
|
+
return localize(
|
|
735
|
+
4028,
|
|
727
736
|
"Show the next item{0} or previous item{1}.",
|
|
728
|
-
`<keybinding:${
|
|
729
|
-
`<keybinding:${
|
|
730
|
-
)
|
|
737
|
+
`<keybinding:${AccessibilityCommandId.ShowNext}`,
|
|
738
|
+
`<keybinding:${AccessibilityCommandId.ShowPrevious}>`
|
|
739
|
+
);
|
|
731
740
|
}
|
|
732
741
|
_disableVerbosityHint(provider) {
|
|
733
|
-
if (provider.options.type ===
|
|
734
|
-
return
|
|
735
|
-
|
|
742
|
+
if (provider.options.type === AccessibleViewType.Help && this._verbosityEnabled()) {
|
|
743
|
+
return localize(
|
|
744
|
+
4029,
|
|
736
745
|
"\nDisable accessibility verbosity for this feature{0}.",
|
|
737
|
-
`<keybinding:${
|
|
738
|
-
)
|
|
746
|
+
`<keybinding:${AccessibilityCommandId.DisableVerbosityHint}>`
|
|
747
|
+
);
|
|
739
748
|
}
|
|
740
749
|
return '';
|
|
741
750
|
}
|
|
@@ -743,29 +752,29 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
743
752
|
if (!providerHasSymbols) {
|
|
744
753
|
return;
|
|
745
754
|
}
|
|
746
|
-
return
|
|
747
|
-
|
|
755
|
+
return localize(
|
|
756
|
+
4030,
|
|
748
757
|
'Go to a symbol{0}.',
|
|
749
|
-
`<keybinding:${
|
|
750
|
-
)
|
|
758
|
+
`<keybinding:${AccessibilityCommandId.GoToSymbol}>`
|
|
759
|
+
);
|
|
751
760
|
}
|
|
752
761
|
_configureUnassignedKbHint() {
|
|
753
|
-
const configureKb = this._keybindingService.lookupKeybinding(
|
|
762
|
+
const configureKb = this._keybindingService.lookupKeybinding(AccessibilityCommandId.AccessibilityHelpConfigureKeybindings)?.getAriaLabel();
|
|
754
763
|
const keybindingToConfigureQuickPick = configureKb ? '(' + configureKb + ')' : 'by assigning a keybinding to the command Accessibility Help Configure Unassigned Keybindings.';
|
|
755
|
-
return
|
|
756
|
-
|
|
764
|
+
return localize(
|
|
765
|
+
4031,
|
|
757
766
|
'\nConfigure keybindings for commands that lack them {0}.',
|
|
758
767
|
keybindingToConfigureQuickPick
|
|
759
|
-
)
|
|
768
|
+
);
|
|
760
769
|
}
|
|
761
770
|
_configureAssignedKbHint() {
|
|
762
|
-
const configureKb = this._keybindingService.lookupKeybinding(
|
|
771
|
+
const configureKb = this._keybindingService.lookupKeybinding(AccessibilityCommandId.AccessibilityHelpConfigureAssignedKeybindings)?.getAriaLabel();
|
|
763
772
|
const keybindingToConfigureQuickPick = configureKb ? '(' + configureKb + ')' : 'by assigning a keybinding to the command Accessibility Help Configure Assigned Keybindings.';
|
|
764
|
-
return
|
|
765
|
-
|
|
773
|
+
return localize(
|
|
774
|
+
4032,
|
|
766
775
|
'\nConfigure keybindings for commands that already have assignments {0}.',
|
|
767
776
|
keybindingToConfigureQuickPick
|
|
768
|
-
)
|
|
777
|
+
);
|
|
769
778
|
}
|
|
770
779
|
_screenReaderModeHint(provider) {
|
|
771
780
|
const accessibilitySupport = this._accessibilityService.isScreenReaderOptimized();
|
|
@@ -773,7 +782,7 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
773
782
|
const turnOnMessage = (isMacintosh
|
|
774
783
|
? AccessibilityHelpNLS.changeConfigToOnMac
|
|
775
784
|
: AccessibilityHelpNLS.changeConfigToOnWinLinux);
|
|
776
|
-
if (accessibilitySupport && provider.id ===
|
|
785
|
+
if (accessibilitySupport && provider.id === AccessibleViewProviderId.Editor) {
|
|
777
786
|
screenReaderModeHint = AccessibilityHelpNLS.auto_on;
|
|
778
787
|
screenReaderModeHint += '\n';
|
|
779
788
|
}
|
|
@@ -784,33 +793,33 @@ let AccessibleView = class AccessibleView extends Disposable {
|
|
|
784
793
|
return screenReaderModeHint;
|
|
785
794
|
}
|
|
786
795
|
_exitDialogHint(provider) {
|
|
787
|
-
return this._verbosityEnabled() && !provider.options.position ? ( localize(
|
|
796
|
+
return this._verbosityEnabled() && !provider.options.position ? ( localize(4033, '\nExit this dialog (Escape).')) : '';
|
|
788
797
|
}
|
|
789
798
|
_readMoreHint(provider) {
|
|
790
799
|
return provider.options.readMoreUrl ? ( localize(
|
|
791
|
-
|
|
800
|
+
4034,
|
|
792
801
|
"\nOpen a browser window with more information related to accessibility{0}.",
|
|
793
|
-
`<keybinding:${
|
|
802
|
+
`<keybinding:${AccessibilityCommandId.AccessibilityHelpOpenHelpLink}>`
|
|
794
803
|
)) : '';
|
|
795
804
|
}
|
|
796
805
|
};
|
|
797
|
-
AccessibleView = (
|
|
798
|
-
(
|
|
799
|
-
(
|
|
800
|
-
(
|
|
801
|
-
(
|
|
802
|
-
(
|
|
803
|
-
(
|
|
804
|
-
(
|
|
805
|
-
(
|
|
806
|
-
(
|
|
807
|
-
(
|
|
808
|
-
(
|
|
809
|
-
(
|
|
810
|
-
(
|
|
811
|
-
(
|
|
812
|
-
(
|
|
813
|
-
], AccessibleView))
|
|
806
|
+
AccessibleView = ( __decorate([
|
|
807
|
+
( __param(0, IOpenerService)),
|
|
808
|
+
( __param(1, IInstantiationService)),
|
|
809
|
+
( __param(2, IConfigurationService)),
|
|
810
|
+
( __param(3, IModelService)),
|
|
811
|
+
( __param(4, IContextViewService)),
|
|
812
|
+
( __param(5, IContextKeyService)),
|
|
813
|
+
( __param(6, IAccessibilityService)),
|
|
814
|
+
( __param(7, IKeybindingService)),
|
|
815
|
+
( __param(8, ILayoutService)),
|
|
816
|
+
( __param(9, IMenuService)),
|
|
817
|
+
( __param(10, ICommandService)),
|
|
818
|
+
( __param(11, IChatCodeBlockContextProviderService)),
|
|
819
|
+
( __param(12, IStorageService)),
|
|
820
|
+
( __param(13, ITextModelService)),
|
|
821
|
+
( __param(14, IQuickInputService))
|
|
822
|
+
], AccessibleView));
|
|
814
823
|
let AccessibleViewService = class AccessibleViewService extends Disposable {
|
|
815
824
|
constructor(_instantiationService, _configurationService, _keybindingService) {
|
|
816
825
|
super();
|
|
@@ -846,14 +855,14 @@ let AccessibleViewService = class AccessibleViewService extends Disposable {
|
|
|
846
855
|
if (!this._configurationService.getValue(verbositySettingKey)) {
|
|
847
856
|
return null;
|
|
848
857
|
}
|
|
849
|
-
const keybinding = this._keybindingService.lookupKeybinding(
|
|
858
|
+
const keybinding = this._keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibleView)?.getAriaLabel();
|
|
850
859
|
let hint = null;
|
|
851
860
|
if (keybinding) {
|
|
852
|
-
hint = ( localize(
|
|
861
|
+
hint = ( localize(4035, "Inspect this in the accessible view with {0}", keybinding));
|
|
853
862
|
}
|
|
854
863
|
else {
|
|
855
864
|
hint = ( localize(
|
|
856
|
-
|
|
865
|
+
4036,
|
|
857
866
|
"Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding."
|
|
858
867
|
));
|
|
859
868
|
}
|
|
@@ -870,7 +879,7 @@ let AccessibleViewService = class AccessibleViewService extends Disposable {
|
|
|
870
879
|
}
|
|
871
880
|
getLastPosition() {
|
|
872
881
|
const lastLine = this._accessibleView?.editorWidget.getModel()?.getLineCount();
|
|
873
|
-
return lastLine !== undefined && lastLine > 0 ? (
|
|
882
|
+
return lastLine !== undefined && lastLine > 0 ? ( new Position(lastLine, 1)) : undefined;
|
|
874
883
|
}
|
|
875
884
|
setPosition(position, reveal, select) {
|
|
876
885
|
this._accessibleView?.setPosition(position, reveal, select);
|
|
@@ -882,21 +891,21 @@ let AccessibleViewService = class AccessibleViewService extends Disposable {
|
|
|
882
891
|
this._accessibleView?.navigateToCodeBlock(type);
|
|
883
892
|
}
|
|
884
893
|
};
|
|
885
|
-
AccessibleViewService = (
|
|
886
|
-
(
|
|
887
|
-
(
|
|
888
|
-
(
|
|
889
|
-
], AccessibleViewService))
|
|
894
|
+
AccessibleViewService = ( __decorate([
|
|
895
|
+
( __param(0, IInstantiationService)),
|
|
896
|
+
( __param(1, IConfigurationService)),
|
|
897
|
+
( __param(2, IKeybindingService))
|
|
898
|
+
], AccessibleViewService));
|
|
890
899
|
let AccessibleViewSymbolQuickPick = class AccessibleViewSymbolQuickPick {
|
|
891
900
|
constructor(_accessibleView, _quickInputService) {
|
|
892
901
|
this._accessibleView = _accessibleView;
|
|
893
902
|
this._quickInputService = _quickInputService;
|
|
894
903
|
}
|
|
895
904
|
show(provider) {
|
|
896
|
-
const disposables = (
|
|
905
|
+
const disposables = ( new DisposableStore());
|
|
897
906
|
const quickPick = disposables.add(this._quickInputService.createQuickPick());
|
|
898
|
-
quickPick.placeholder = ( localize(
|
|
899
|
-
quickPick.title = ( localize(
|
|
907
|
+
quickPick.placeholder = ( localize(4037, "Type to search symbols"));
|
|
908
|
+
quickPick.title = ( localize(4038, "Go to Symbol Accessible View"));
|
|
900
909
|
const symbols = this._accessibleView.getSymbols();
|
|
901
910
|
if (!symbols) {
|
|
902
911
|
return;
|
|
@@ -918,16 +927,16 @@ let AccessibleViewSymbolQuickPick = class AccessibleViewSymbolQuickPick {
|
|
|
918
927
|
}));
|
|
919
928
|
}
|
|
920
929
|
};
|
|
921
|
-
AccessibleViewSymbolQuickPick = (
|
|
922
|
-
(
|
|
923
|
-
], AccessibleViewSymbolQuickPick))
|
|
930
|
+
AccessibleViewSymbolQuickPick = ( __decorate([
|
|
931
|
+
( __param(1, IQuickInputService))
|
|
932
|
+
], AccessibleViewSymbolQuickPick));
|
|
924
933
|
function shouldHide(event, keybindingService, configurationService) {
|
|
925
|
-
if (!configurationService.getValue(
|
|
934
|
+
if (!configurationService.getValue(AccessibilityWorkbenchSettingId.AccessibleViewCloseOnKeyPress)) {
|
|
926
935
|
return false;
|
|
927
936
|
}
|
|
928
|
-
const standardKeyboardEvent = (
|
|
937
|
+
const standardKeyboardEvent = ( new StandardKeyboardEvent(event));
|
|
929
938
|
const resolveResult = keybindingService.softDispatch(standardKeyboardEvent, standardKeyboardEvent.target);
|
|
930
|
-
const isValidChord = resolveResult.kind ===
|
|
939
|
+
const isValidChord = resolveResult.kind === ResultKind.MoreChordsNeeded;
|
|
931
940
|
if (keybindingService.inChordMode || isValidChord) {
|
|
932
941
|
return false;
|
|
933
942
|
}
|
package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewContributions.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
2
|
+
export declare class AccesibleViewHelpContribution extends Disposable {
|
|
3
|
+
static ID: "accesibleViewHelpContribution";
|
|
4
|
+
constructor();
|
|
5
|
+
}
|
|
6
|
+
export declare class AccesibleViewContributions extends Disposable {
|
|
7
|
+
static ID: "accesibleViewContributions";
|
|
8
|
+
constructor();
|
|
9
|
+
}
|