mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
consolidate
This commit is contained in:
@@ -16,6 +16,12 @@ export const enum AccessibilityVerbositySettingId {
|
||||
Notebook = 'accessibility.verbosity.notebook'
|
||||
}
|
||||
|
||||
const baseProperty: object = {
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
tags: ['accessibility']
|
||||
};
|
||||
|
||||
const configuration: IConfigurationNode = {
|
||||
id: 'accessibility',
|
||||
title: localize('accessibilityConfigurationTitle', "Accessibility"),
|
||||
@@ -23,39 +29,27 @@ const configuration: IConfigurationNode = {
|
||||
properties: {
|
||||
[AccessibilityVerbositySettingId.Terminal]: {
|
||||
description: localize('verbosity.terminal.description', 'Provide information about how to access the terminal accessibility help menu when the terminal is focused'),
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
tags: ['accessibility']
|
||||
...baseProperty
|
||||
},
|
||||
[AccessibilityVerbositySettingId.DiffEditor]: {
|
||||
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']
|
||||
...baseProperty
|
||||
},
|
||||
[AccessibilityVerbositySettingId.Chat]: {
|
||||
description: localize('verbosity.chat.description', 'Provide information about how to access the chat help menu when the chat input is focused'),
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
tags: ['accessibility']
|
||||
...baseProperty
|
||||
},
|
||||
[AccessibilityVerbositySettingId.InteractiveEditor]: {
|
||||
description: localize('verbosity.interactiveEditor.description', 'Provide information about how to access the interactive editor accessibility help menu when the interactive editor input is focused'),
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
tags: ['accessibility']
|
||||
...baseProperty
|
||||
},
|
||||
[AccessibilityVerbositySettingId.KeybindingsEditor]: {
|
||||
description: localize('verbosity.keybindingsEditor.description', 'Provide information about how to change a keybinding in the keybindings editor when a row is focused'),
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
tags: ['accessibility']
|
||||
...baseProperty
|
||||
},
|
||||
[AccessibilityVerbositySettingId.Notebook]: {
|
||||
description: localize('verbosity.notebook', 'Provide information about how to focus the cell container or inner editor when a notebook cell is focused.'),
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
tags: ['accessibility']
|
||||
...baseProperty
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user