From ec7968776b4a5ace7dbdec989e4eb47a7ca2ecdb Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Fri, 7 Feb 2020 06:58:35 +0100 Subject: [PATCH] Instructions for files.defaultLanguage new option is confusing (fix #90187) --- src/vs/workbench/contrib/files/browser/files.contribution.ts | 2 +- .../keybinding/electron-browser/keybinding.contribution.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/contrib/files/browser/files.contribution.ts b/src/vs/workbench/contrib/files/browser/files.contribution.ts index 691c176d94a..64dd1bea71c 100644 --- a/src/vs/workbench/contrib/files/browser/files.contribution.ts +++ b/src/vs/workbench/contrib/files/browser/files.contribution.ts @@ -314,7 +314,7 @@ configurationRegistry.registerConfiguration({ 'files.hotExit': hotExitConfiguration, 'files.defaultLanguage': { 'type': 'string', - 'description': nls.localize('defaultLanguage', "The default language mode that is assigned to new files. If configured to `${activeEditorLanguage}`, will use the language mode of the currently active text editor if any.") + 'markdownDescription': nls.localize('defaultLanguage', "The default language mode that is assigned to new files. If configured to `${activeEditorLanguage}`, will use the language mode of the currently active text editor if any.") }, 'files.maxMemoryForLargeFilesMB': { 'type': 'number', diff --git a/src/vs/workbench/services/keybinding/electron-browser/keybinding.contribution.ts b/src/vs/workbench/services/keybinding/electron-browser/keybinding.contribution.ts index 071a5423714..230ed0ed670 100644 --- a/src/vs/workbench/services/keybinding/electron-browser/keybinding.contribution.ts +++ b/src/vs/workbench/services/keybinding/electron-browser/keybinding.contribution.ts @@ -28,7 +28,7 @@ const keyboardConfiguration: IConfigurationNode = { 'type': 'string' }, 'default': [], - 'description': nls.localize('touchbar.ignored', 'A set of identifiers for entries in the touchbar that should not show up (for example `workbench.action.navigateBack`.'), + 'markdownDescription': nls.localize('touchbar.ignored', 'A set of identifiers for entries in the touchbar that should not show up (for example `workbench.action.navigateBack`.'), 'included': OS === OperatingSystem.Macintosh && parseFloat(release()) >= 16 // Minimum: macOS Sierra (10.12.x = darwin 16.x) } }