Skip to content

Commit 82ca6ba

Browse files
committed
document that suggest.names doesn't work with checkjs
Fixes microsoft#81895
1 parent cbda1fd commit 82ca6ba

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/typescript-language-features/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@
475475
"javascript.suggest.names": {
476476
"type": "boolean",
477477
"default": true,
478-
"description": "%configuration.suggest.names%",
478+
"markdownDescription": "%configuration.suggest.names%",
479479
"scope": "resource"
480480
},
481481
"typescript.tsc.autoDetect": {

extensions/typescript-language-features/package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"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.",
4646
"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.",
4747
"typescript.check.npmIsInstalled": "Check if NPM is installed for Automatic Type Acquisition.",
48-
"configuration.suggest.names": "Enable/disable including unique names from the file in JavaScript suggestions.",
48+
"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`.",
4949
"typescript.tsc.autoDetect": "Controls auto detection of tsc tasks.",
5050
"typescript.tsc.autoDetect.off": "Disable this feature.",
5151
"typescript.tsc.autoDetect.on": "Create both build and watch tasks.",

0 commit comments

Comments
 (0)