From 1f5f486ccb8e1a95c55b2df840b7cea6fa986b7e Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Wed, 16 Feb 2022 12:09:49 -0800 Subject: [PATCH] Add note about quote style setting to jsxAttributeCompletionStyle For #143164 --- extensions/typescript-language-features/package.json | 2 +- extensions/typescript-language-features/package.nls.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/extensions/typescript-language-features/package.json b/extensions/typescript-language-features/package.json index 821bff8ebb5..6cf7a193f53 100644 --- a/extensions/typescript-language-features/package.json +++ b/extensions/typescript-language-features/package.json @@ -878,7 +878,7 @@ "none" ], "markdownEnumDescriptions": [ - "%typescript.preferences.jsxAttributeCompletionStyle.auto%", + "%javascript.preferences.jsxAttributeCompletionStyle.auto%", "%typescript.preferences.jsxAttributeCompletionStyle.braces%", "%typescript.preferences.jsxAttributeCompletionStyle.none%" ], diff --git a/extensions/typescript-language-features/package.nls.json b/extensions/typescript-language-features/package.nls.json index 4f76591ad37..4d9a94e8eed 100644 --- a/extensions/typescript-language-features/package.nls.json +++ b/extensions/typescript-language-features/package.nls.json @@ -125,7 +125,8 @@ "typescript.preferences.importModuleSpecifierEnding.index": "Shorten `./component/index.js` to `./component/index`.", "typescript.preferences.importModuleSpecifierEnding.js": "Do not shorten path endings; include the `.js` extension.", "typescript.preferences.jsxAttributeCompletionStyle": "Preferred style for JSX attribute completions.", - "typescript.preferences.jsxAttributeCompletionStyle.auto": "Insert `={}` or `=\"\"` after attribute names based on the prop type.", + "javascript.preferences.jsxAttributeCompletionStyle.auto": "Insert `={}` or `=\"\"` after attribute names based on the prop type. See `javascript.preferences.quoteStyle` to control the type of quotes used for string attributes.", + "typescript.preferences.jsxAttributeCompletionStyle.auto": "Insert `={}` or `=\"\"` after attribute names based on the prop type. See `typescript.preferences.quoteStyle` to control the type of quotes used for string attributes.", "typescript.preferences.jsxAttributeCompletionStyle.braces": "Insert `={}` after attribute names.", "typescript.preferences.jsxAttributeCompletionStyle.none": "Only insert attribute names.", "typescript.preferences.includePackageJsonAutoImports": "Enable/disable searching `package.json` dependencies for available auto imports.",