Skip to content

Commit 12ddceb

Browse files
authored
remove dangling whitespace from editor hint (microsoft#248052) (microsoft#248064)
1 parent 44cc351 commit 12ddceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ class EmptyTextEditorHintContentWidget extends Disposable implements IContentWid
287287
'Preserve double-square brackets and their order',
288288
'language refers to a programming language'
289289
]
290-
}, '[[Select a language]] ({0}), or [[fill with template]] ({1}), or [[open a different editor]] ({2}) to get started.\nStart typing to dismiss or [[don\'t show]] this again.', keybindingLabels.at(0) ?? '', keybindingLabels.at(1) ?? '', keybindingLabels.at(2) ?? '')).replaceAll('()', '');
290+
}, '[[Select a language]] ({0}), or [[fill with template]] ({1}), or [[open a different editor]] ({2}) to get started.\nStart typing to dismiss or [[don\'t show]] this again.', keybindingLabels.at(0) ?? '', keybindingLabels.at(1) ?? '', keybindingLabels.at(2) ?? '')).replaceAll(' ()', '');
291291
const hintElement = renderFormattedText(hintMsg, {
292292
actionHandler: hintHandler,
293293
renderCodeSegments: false,

0 commit comments

Comments
 (0)