Skip to content

Commit 196c2bd

Browse files
committed
💄
1 parent c55873c commit 196c2bd

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

src/vs/platform/list/browser/listService.ts

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,20 +1171,20 @@ class WorkbenchTreeInternals<TInput, T, TFilterData> {
11711171
const configurationRegistry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration);
11721172

11731173
configurationRegistry.registerConfiguration({
1174-
'id': 'workbench',
1175-
'order': 7,
1176-
'title': localize('workbenchConfigurationTitle', "Workbench"),
1177-
'type': 'object',
1178-
'properties': {
1174+
id: 'workbench',
1175+
order: 7,
1176+
title: localize('workbenchConfigurationTitle', "Workbench"),
1177+
type: 'object',
1178+
properties: {
11791179
[multiSelectModifierSettingKey]: {
1180-
'type': 'string',
1181-
'enum': ['ctrlCmd', 'alt'],
1182-
'enumDescriptions': [
1180+
type: 'string',
1181+
enum: ['ctrlCmd', 'alt'],
1182+
enumDescriptions: [
11831183
localize('multiSelectModifier.ctrlCmd', "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
11841184
localize('multiSelectModifier.alt', "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
11851185
],
1186-
'default': 'ctrlCmd',
1187-
'description': localize({
1186+
default: 'ctrlCmd',
1187+
description: localize({
11881188
key: 'multiSelectModifier',
11891189
comment: [
11901190
'- `ctrlCmd` refers to a value the setting can take and should not be localized.',
@@ -1193,25 +1193,25 @@ configurationRegistry.registerConfiguration({
11931193
}, "The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
11941194
},
11951195
[openModeSettingKey]: {
1196-
'type': 'string',
1197-
'enum': ['singleClick', 'doubleClick'],
1198-
'default': 'singleClick',
1199-
'description': localize({
1196+
type: 'string',
1197+
enum: ['singleClick', 'doubleClick'],
1198+
default: 'singleClick',
1199+
description: localize({
12001200
key: 'openModeModifier',
12011201
comment: ['`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized.']
12021202
}, "Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")
12031203
},
12041204
[horizontalScrollingKey]: {
1205-
'type': 'boolean',
1206-
'default': false,
1207-
'description': localize('horizontalScrolling setting', "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
1205+
type: 'boolean',
1206+
default: false,
1207+
description: localize('horizontalScrolling setting', "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
12081208
},
12091209
[treeIndentKey]: {
1210-
'type': 'number',
1211-
'default': 8,
1210+
type: 'number',
1211+
default: 8,
12121212
minimum: 0,
12131213
maximum: 40,
1214-
'description': localize('tree indent setting', "Controls tree indentation in pixels.")
1214+
description: localize('tree indent setting', "Controls tree indentation in pixels.")
12151215
},
12161216
[treeRenderIndentGuidesKey]: {
12171217
type: 'string',
@@ -1225,19 +1225,19 @@ configurationRegistry.registerConfiguration({
12251225
description: localize('list smoothScrolling setting', "Controls whether lists and trees have smooth scrolling."),
12261226
},
12271227
[keyboardNavigationSettingKey]: {
1228-
'type': 'string',
1229-
'enum': ['simple', 'highlight', 'filter'],
1230-
'enumDescriptions': [
1228+
type: 'string',
1229+
enum: ['simple', 'highlight', 'filter'],
1230+
enumDescriptions: [
12311231
localize('keyboardNavigationSettingKey.simple', "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
12321232
localize('keyboardNavigationSettingKey.highlight', "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
12331233
localize('keyboardNavigationSettingKey.filter', "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
12341234
],
1235-
'default': 'highlight',
1236-
'description': localize('keyboardNavigationSettingKey', "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")
1235+
default: 'highlight',
1236+
description: localize('keyboardNavigationSettingKey', "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")
12371237
},
12381238
[automaticKeyboardNavigationSettingKey]: {
1239-
'type': 'boolean',
1240-
'default': true,
1239+
type: 'boolean',
1240+
default: true,
12411241
markdownDescription: localize('automatic keyboard navigation setting', "Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")
12421242
},
12431243
[treeExpandMode]: {

0 commit comments

Comments
 (0)