Change includePackageJsonAutoImports options (#103732)

This commit is contained in:
Andrew Branch 2020-08-03 14:16:28 -07:00 committed by GitHub
parent d9b5e57a2b
commit 4a206a33e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 11 deletions

View file

@ -689,16 +689,16 @@
"typescript.preferences.includePackageJsonAutoImports": { "typescript.preferences.includePackageJsonAutoImports": {
"type": "string", "type": "string",
"enum": [ "enum": [
"all", "auto",
"exclude-dev", "on",
"none" "off"
], ],
"enumDescriptions": [ "enumDescriptions": [
"%typescript.preferences.includePackageJsonAutoImports.all%", "%typescript.preferences.includePackageJsonAutoImports.auto%",
"%typescript.preferences.includePackageJsonAutoImports.excludeDev%", "%typescript.preferences.includePackageJsonAutoImports.on%",
"%typescript.preferences.includePackageJsonAutoImports.none%" "%typescript.preferences.includePackageJsonAutoImports.off%"
], ],
"default": "exclude-dev", "default": "auto",
"markdownDescription": "%typescript.preferences.includePackageJsonAutoImports%", "markdownDescription": "%typescript.preferences.includePackageJsonAutoImports%",
"scope": "window" "scope": "window"
}, },

View file

@ -76,10 +76,10 @@
"typescript.preferences.importModuleSpecifierEnding.minimal": "Shorten `./component/index.js` to `./component`.", "typescript.preferences.importModuleSpecifierEnding.minimal": "Shorten `./component/index.js` to `./component`.",
"typescript.preferences.importModuleSpecifierEnding.index": "Shorten `./component/index.js` to `./component/index`.", "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.importModuleSpecifierEnding.js": "Do not shorten path endings; include the `.js` extension.",
"typescript.preferences.includePackageJsonAutoImports": "Enable/disable processing `package.json` dependencies for available auto imports.", "typescript.preferences.includePackageJsonAutoImports": "Enable/disable searching `package.json` dependencies for available auto imports.",
"typescript.preferences.includePackageJsonAutoImports.all": "Include all listed dependencies.", "typescript.preferences.includePackageJsonAutoImports.auto": "Search dependencies based on estimated performance impact.",
"typescript.preferences.includePackageJsonAutoImports.excludeDev": "Exclude devDependencies.", "typescript.preferences.includePackageJsonAutoImports.on": "Always search dependencies.",
"typescript.preferences.includePackageJsonAutoImports.none": "Disable package.json dependency processing.", "typescript.preferences.includePackageJsonAutoImports.off": "Never search dependencies.",
"typescript.updateImportsOnFileMove.enabled": "Enable/disable automatic updating of import paths when you rename or move a file in VS Code. Requires using TypeScript 2.9 or newer in the workspace.", "typescript.updateImportsOnFileMove.enabled": "Enable/disable automatic updating of import paths when you rename or move a file in VS Code. Requires using TypeScript 2.9 or newer in the workspace.",
"typescript.updateImportsOnFileMove.enabled.prompt": "Prompt on each rename.", "typescript.updateImportsOnFileMove.enabled.prompt": "Prompt on each rename.",
"typescript.updateImportsOnFileMove.enabled.always": "Always update paths automatically.", "typescript.updateImportsOnFileMove.enabled.always": "Always update paths automatically.",