mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
fix #183970
This commit is contained in:
parent
c38a9e9ba5
commit
aa3d25f7ae
|
@ -183,8 +183,8 @@ export class DiffReview extends Disposable {
|
|||
}
|
||||
}));
|
||||
this._register(this._configurationService.onDidChangeConfiguration(e => {
|
||||
if (e.affectsConfiguration('accessibility.verbosity.diff-editor')) {
|
||||
this._diffEditor.updateOptions({ accessibilityVerbose: this._configurationService.getValue('accessibility.verbosity.diff-editor') });
|
||||
if (e.affectsConfiguration('accessibility.verbosity.diffEditor')) {
|
||||
this._diffEditor.updateOptions({ accessibilityVerbose: this._configurationService.getValue('accessibility.verbosity.diffEditor') });
|
||||
}
|
||||
}));
|
||||
this._diffs = [];
|
||||
|
|
|
@ -9,7 +9,7 @@ import { Registry } from 'vs/platform/registry/common/platform';
|
|||
|
||||
export const enum AccessibilityVerbositySettingId {
|
||||
Terminal = 'accessibility.verbosity.terminal',
|
||||
DiffEditor = 'accessibility.verbosity.diff-editor',
|
||||
DiffEditor = 'accessibility.verbosity.diffEditor',
|
||||
Chat = 'accessibility.verbosity.chat',
|
||||
InteractiveEditor = 'accessibility.verbosity.interactiveEditor',
|
||||
KeybindingsEditor = 'accessibility.verbosity.keybindingsEditor',
|
||||
|
@ -28,7 +28,7 @@ const configuration: IConfigurationNode = {
|
|||
tags: ['accessibility']
|
||||
},
|
||||
[AccessibilityVerbositySettingId.DiffEditor]: {
|
||||
description: localize('verbosity.diff-editor.description', 'Provide information about how to navigate changes in the diff editor when it is focused'),
|
||||
description: localize('verbosity.diffEditor.description', 'Provide information about how to navigate changes in the diff editor when it is focused'),
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
tags: ['accessibility']
|
||||
|
|
Loading…
Reference in a new issue