Replace other non-hyphenated double-click cases

I used ^[^*\/\/]+double click to find the non-comment cases
This commit is contained in:
Daniel Imms 2022-12-15 10:54:54 -08:00
parent 115327e908
commit 925b335bb9
No known key found for this signature in database
GPG key ID: E5CF412B63651C69
8 changed files with 10 additions and 10 deletions

View file

@ -4,7 +4,7 @@
"markdown.preview.breaks.desc": "Sets how line-breaks are rendered in the Markdown preview. Setting it to 'true' creates a <br> for newlines inside paragraphs.", "markdown.preview.breaks.desc": "Sets how line-breaks are rendered in the Markdown preview. Setting it to 'true' creates a <br> for newlines inside paragraphs.",
"markdown.preview.linkify": "Convert URL-like text to links in the Markdown preview.", "markdown.preview.linkify": "Convert URL-like text to links in the Markdown preview.",
"markdown.preview.typographer": "Enable some language-neutral replacement and quotes beautification in the Markdown preview.", "markdown.preview.typographer": "Enable some language-neutral replacement and quotes beautification in the Markdown preview.",
"markdown.preview.doubleClickToSwitchToEditor.desc": "Double click in the Markdown preview to switch to the editor.", "markdown.preview.doubleClickToSwitchToEditor.desc": "Double-click in the Markdown preview to switch to the editor.",
"markdown.preview.fontFamily.desc": "Controls the font family used in the Markdown preview.", "markdown.preview.fontFamily.desc": "Controls the font family used in the Markdown preview.",
"markdown.preview.fontSize.desc": "Controls the font size in pixels used in the Markdown preview.", "markdown.preview.fontSize.desc": "Controls the font size in pixels used in the Markdown preview.",
"markdown.preview.lineHeight.desc": "Controls the line height used in the Markdown preview. This number is relative to the font size.", "markdown.preview.lineHeight.desc": "Controls the line height used in the Markdown preview. This number is relative to the font size.",

View file

@ -96,7 +96,7 @@ export class InlayHintsHover extends MarkdownHoverParticipant implements IEditor
} }
// (1.2) Inlay dbl-click gesture // (1.2) Inlay dbl-click gesture
if (isNonEmptyArray(part.item.hint.textEdits)) { if (isNonEmptyArray(part.item.hint.textEdits)) {
executor.emitOne(new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize('hint.dbl', "Double click to insert"))], false, 10001)); executor.emitOne(new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize('hint.dbl', "Double-click to insert"))], false, 10001));
} }
// (2) Inlay Label Part Tooltip // (2) Inlay Label Part Tooltip

View file

@ -187,17 +187,17 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
}, },
'workbench.editor.enablePreview': { 'workbench.editor.enablePreview': {
'type': 'boolean', 'type': 'boolean',
'description': localize('enablePreview', "Controls whether opened editors show as preview editors. Preview editors do not stay open, are reused until explicitly set to be kept open (via double click or editing), and show file names in italics."), 'description': localize('enablePreview', "Controls whether opened editors show as preview editors. Preview editors do not stay open, are reused until explicitly set to be kept open (via double-click or editing), and show file names in italics."),
'default': true 'default': true
}, },
'workbench.editor.enablePreviewFromQuickOpen': { 'workbench.editor.enablePreviewFromQuickOpen': {
'type': 'boolean', 'type': 'boolean',
'markdownDescription': localize('enablePreviewFromQuickOpen', "Controls whether editors opened from Quick Open show as preview editors. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double click or editing). When enabled, hold Ctrl before selection to open an editor as a non-preview. This value is ignored when `#workbench.editor.enablePreview#` is disabled."), 'markdownDescription': localize('enablePreviewFromQuickOpen', "Controls whether editors opened from Quick Open show as preview editors. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). When enabled, hold Ctrl before selection to open an editor as a non-preview. This value is ignored when `#workbench.editor.enablePreview#` is disabled."),
'default': false 'default': false
}, },
'workbench.editor.enablePreviewFromCodeNavigation': { 'workbench.editor.enablePreviewFromCodeNavigation': {
'type': 'boolean', 'type': 'boolean',
'markdownDescription': localize('enablePreviewFromCodeNavigation', "Controls whether editors remain in preview when a code navigation is started from them. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double click or editing). This value is ignored when `#workbench.editor.enablePreview#` is disabled."), 'markdownDescription': localize('enablePreviewFromCodeNavigation', "Controls whether editors remain in preview when a code navigation is started from them. Preview editors do not stay open, and are reused until explicitly set to be kept open (via double-click or editing). This value is ignored when `#workbench.editor.enablePreview#` is disabled."),
'default': false 'default': false
}, },
'workbench.editor.closeOnFileDelete': { 'workbench.editor.closeOnFileDelete': {

View file

@ -373,7 +373,7 @@ export class CodeCell extends Disposable {
const expandIcon = DOM.$('span.expandInputIcon'); const expandIcon = DOM.$('span.expandInputIcon');
const keybinding = this.keybindingService.lookupKeybinding(EXPAND_CELL_INPUT_COMMAND_ID); const keybinding = this.keybindingService.lookupKeybinding(EXPAND_CELL_INPUT_COMMAND_ID);
if (keybinding) { if (keybinding) {
element.title = localize('cellExpandInputButtonLabelWithDoubleClick', "Double click to expand cell input ({0})", keybinding.getLabel()); element.title = localize('cellExpandInputButtonLabelWithDoubleClick', "Double-click to expand cell input ({0})", keybinding.getLabel());
expandIcon.title = localize('cellExpandInputButtonLabel', "Expand Cell Input ({0})", keybinding.getLabel()); expandIcon.title = localize('cellExpandInputButtonLabel', "Expand Cell Input ({0})", keybinding.getLabel());
} }

View file

@ -27,7 +27,7 @@ export class CollapsedCellOutput extends CellContentPart {
const keybinding = keybindingService.lookupKeybinding(EXPAND_CELL_OUTPUT_COMMAND_ID); const keybinding = keybindingService.lookupKeybinding(EXPAND_CELL_OUTPUT_COMMAND_ID);
if (keybinding) { if (keybinding) {
placeholder.title = localize('cellExpandOutputButtonLabelWithDoubleClick', "Double click to expand cell output ({0})", keybinding.getLabel()); placeholder.title = localize('cellExpandOutputButtonLabelWithDoubleClick', "Double-click to expand cell output ({0})", keybinding.getLabel());
cellOutputCollapseContainer.title = localize('cellExpandOutputButtonLabel', "Expand Cell Output (${0})", keybinding.getLabel()); cellOutputCollapseContainer.title = localize('cellExpandOutputButtonLabel', "Expand Cell Output (${0})", keybinding.getLabel());
} }

View file

@ -267,7 +267,7 @@ export class MarkupCell extends Disposable {
expandIcon.classList.add(...CSSIcon.asClassNameArray(Codicon.more)); expandIcon.classList.add(...CSSIcon.asClassNameArray(Codicon.more));
const keybinding = this.keybindingService.lookupKeybinding(EXPAND_CELL_INPUT_COMMAND_ID); const keybinding = this.keybindingService.lookupKeybinding(EXPAND_CELL_INPUT_COMMAND_ID);
if (keybinding) { if (keybinding) {
element.title = localize('cellExpandInputButtonLabelWithDoubleClick', "Double click to expand cell input ({0})", keybinding.getLabel()); element.title = localize('cellExpandInputButtonLabelWithDoubleClick', "Double-click to expand cell input ({0})", keybinding.getLabel());
expandIcon.title = localize('cellExpandInputButtonLabel', "Expand Cell Input ({0})", keybinding.getLabel()); expandIcon.title = localize('cellExpandInputButtonLabel', "Expand Cell Input ({0})", keybinding.getLabel());
} }

View file

@ -249,7 +249,7 @@ export class BackLayerWebView<T extends ICommonCellInfo> extends Themable {
'notebook-cell-output-line-height': `${this.options.outputLineHeight}px`, 'notebook-cell-output-line-height': `${this.options.outputLineHeight}px`,
'notebook-cell-output-max-height': `${this.options.outputLineHeight * this.options.outputLineLimit}px`, 'notebook-cell-output-max-height': `${this.options.outputLineHeight * this.options.outputLineLimit}px`,
'notebook-cell-output-font-family': this.options.outputFontFamily || this.options.fontFamily, 'notebook-cell-output-font-family': this.options.outputFontFamily || this.options.fontFamily,
'notebook-cell-markup-empty-content': nls.localize('notebook.emptyMarkdownPlaceholder', "Empty markdown cell, double click or press enter to edit."), 'notebook-cell-markup-empty-content': nls.localize('notebook.emptyMarkdownPlaceholder', "Empty markdown cell, double-click or press enter to edit."),
'notebook-cell-renderer-not-found-error': nls.localize({ 'notebook-cell-renderer-not-found-error': nls.localize({
key: 'notebook.error.rendererNotFound', key: 'notebook.error.rendererNotFound',
comment: ['$0 is a placeholder for the mime type'] comment: ['$0 is a placeholder for the mime type']

View file

@ -437,7 +437,7 @@ const terminalConfiguration: IConfigurationNode = {
default: true default: true
}, },
[TerminalSettingId.WordSeparators]: { [TerminalSettingId.WordSeparators]: {
description: localize('terminal.integrated.wordSeparators', "A string containing all characters to be considered word separators by the double click to select word feature."), description: localize('terminal.integrated.wordSeparators', "A string containing all characters to be considered word separators by the double-click to select word feature."),
type: 'string', type: 'string',
// allow-any-unicode-next-line // allow-any-unicode-next-line
default: ' ()[]{}\',"`─‘’' default: ' ()[]{}\',"`─‘’'