diff --git a/src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint.ts b/src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint.ts index 353965fd9fa8c..14c97806e0929 100644 --- a/src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint.ts +++ b/src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint.ts @@ -107,19 +107,6 @@ class UntitledTextEditorHintContentWidget implements IContentWidget { this.domNode = $('.untitled-hint'); this.domNode.style.width = 'max-content'; - const editorType = $('a.editor-type'); - editorType.style.cursor = 'pointer'; - editorType.innerText = localize('notLookingForTextEditor', "Not looking for a text editor?"); - const selectEditorTypeKeyBinding = this.keybindingService.lookupKeybinding('welcome.showNewFileEntries'); - const selectEditorTypeKeybindingLabel = selectEditorTypeKeyBinding?.getLabel(); - if (selectEditorTypeKeybindingLabel) { - editorType.title = localize('keyboardBindingTooltip', "{0}", selectEditorTypeKeybindingLabel); - } - this.domNode.appendChild(editorType); - - this.domNode.appendChild($('br')); - this.domNode.appendChild($('br')); - const language = $('a.language-mode'); language.style.cursor = 'pointer'; language.innerText = localize('selectAlanguage2', "Select a language"); @@ -130,10 +117,30 @@ class UntitledTextEditorHintContentWidget implements IContentWidget { } this.domNode.appendChild(language); + const or = $('span'); + or.innerText = localize('or', " or ",); + this.domNode.appendChild(or); + + const editorType = $('a.editor-type'); + editorType.style.cursor = 'pointer'; + editorType.innerText = localize('openADifferentEditor', "open a different editor"); + const selectEditorTypeKeyBinding = this.keybindingService.lookupKeybinding('welcome.showNewFileEntries'); + const selectEditorTypeKeybindingLabel = selectEditorTypeKeyBinding?.getLabel(); + if (selectEditorTypeKeybindingLabel) { + editorType.title = localize('keyboardBindingTooltip', "{0}", selectEditorTypeKeybindingLabel); + } + this.domNode.appendChild(editorType); + const toGetStarted = $('span'); - toGetStarted.innerText = localize('toGetStarted', " to get started. Start typing to dismiss, or ",); + toGetStarted.innerText = localize('toGetStarted', " to get started."); this.domNode.appendChild(toGetStarted); + this.domNode.appendChild($('br')); + + const startTyping = $('span'); + startTyping.innerText = localize('startTyping', "Start typing to dismiss or "); + this.domNode.appendChild(startTyping); + const dontShow = $('a'); dontShow.style.cursor = 'pointer'; dontShow.innerText = localize('dontshow', "don't show");