From 82ca6ba87f450245f665ab7a5f3a686e2cd00045 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Sat, 19 Oct 2019 16:19:23 -0700 Subject: [PATCH] document that `suggest.names` doesn't work with checkjs Fixes #81895 --- extensions/typescript-language-features/package.json | 2 +- extensions/typescript-language-features/package.nls.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/typescript-language-features/package.json b/extensions/typescript-language-features/package.json index b39e489bd60..a2949edc213 100644 --- a/extensions/typescript-language-features/package.json +++ b/extensions/typescript-language-features/package.json @@ -475,7 +475,7 @@ "javascript.suggest.names": { "type": "boolean", "default": true, - "description": "%configuration.suggest.names%", + "markdownDescription": "%configuration.suggest.names%", "scope": "resource" }, "typescript.tsc.autoDetect": { diff --git a/extensions/typescript-language-features/package.nls.json b/extensions/typescript-language-features/package.nls.json index b7886f7c7c8..26e036bb992 100644 --- a/extensions/typescript-language-features/package.nls.json +++ b/extensions/typescript-language-features/package.nls.json @@ -45,7 +45,7 @@ "javascript.implicitProjectConfig.checkJs": "Enable/disable semantic checking of JavaScript files. Existing jsconfig.json or tsconfig.json files override this setting. Requires using TypeScript 2.3.1 or newer in the workspace.", "typescript.npm": "Specifies the path to the NPM executable used for Automatic Type Acquisition. Requires using TypeScript 2.3.4 or newer in the workspace.", "typescript.check.npmIsInstalled": "Check if NPM is installed for Automatic Type Acquisition.", - "configuration.suggest.names": "Enable/disable including unique names from the file in JavaScript suggestions.", + "configuration.suggest.names": "Enable/disable including unique names from the file in JavaScript suggestions. Note that name suggestions are always disabled in JavaScript code that is semantically checked using `@ts-check` or `checkJs`.", "typescript.tsc.autoDetect": "Controls auto detection of tsc tasks.", "typescript.tsc.autoDetect.off": "Disable this feature.", "typescript.tsc.autoDetect.on": "Create both build and watch tasks.",