'- `ctrlCmd` refers to a value the setting can take and should not be localized.',
'- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized.'
]
},"The modifier to be used to add an item to a multi-selection with the mouse (for example in trees and lists, if supported). `ctrlCmd` maps to `Control` on Windows and Linux and to `Command` on macOS. The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (if supported). `ctrlCmd` maps to `Control` on Windows and Linux and to `Command` on macOS. The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
},
'workbench.list.openMode':{
'type':'string',
'enum':['singleClick','doubleClick'],
'enumDescriptions':[
localize('openMode.singleClick',"Opens items on mouse single click."),
localize('openMode.doubleClick',"Open items on mouse double click.")
],
'default':'singleClick',
'description':localize({
key:'openModeModifier',
comment:['`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized.']
},"Controls how to open items in trees and lists using the mouse (if supported). Set to `singleClick` to open items with a single mouse click and `doubleClick` to only open via mouse double click. For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might chose to ignore this setting if it is not applicable. ")
setTimeout(()=>this.editorService.openEditor(editor,null,position).done(null,errors.onUnexpectedError));// timeout to keep focus in editor after mouse up
}
...
...
@@ -646,7 +646,7 @@ export class TabsTitleControl extends TitleControl {
super({clickBehavior:ClickBehavior.ON_MOUSE_UP/* do not change to not break DND */,keyboardSupport:false/* handled via IListService */});
super({clickBehavior:ClickBehavior.ON_MOUSE_UP/* do not change to not break DND */,keyboardSupport:false/* handled via IListService */},configurationService);