Skip to content

Commit b096fb2

Browse files
committed
Use enumDescriptions
1 parent caeb292 commit b096fb2

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

extensions/typescript-language-features/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,11 @@
462462
"relative",
463463
"non-relative"
464464
],
465+
"enumDescriptions": [
466+
"%typescript.preferences.importModuleSpecifier.auto%",
467+
"%typescript.preferences.importModuleSpecifier.relative%",
468+
"%typescript.preferences.importModuleSpecifier.nonRelative%"
469+
],
465470
"default": "auto",
466471
"description": "%typescript.preferences.importModuleSpecifier%",
467472
"scope": "resource"

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@
5353
"javascript.suggestionActions.enabled": "Enable/disable suggestion diagnostics for JavaScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace.",
5454
"typescript.suggestionActions.enabled": "Enable/disable suggestion diagnostics for TypeScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace.",
5555
"typescript.preferences.quoteStyle": "Preferred quote style to use for quick fixes: 'single' quotes, 'double' quotes, or 'auto' infer quote type from existing imports. Requires using TypeScript 2.9 or newer in the workspace.",
56-
"typescript.preferences.importModuleSpecifier": "Preferred path style for auto imports:\n- \"relative\" to the file location.\n- \"non-relative\" based on the 'baseUrl' configured in your 'jsconfig.json' / 'tsconfig.json'.\n- \"auto\" infer the shortest path type.\nRequires using TypeScript 2.9 or newer in the workspace.",
56+
"typescript.preferences.importModuleSpecifier": "Preferred path style for auto imports.",
57+
"typescript.preferences.importModuleSpecifier.auto": "Infer the shortest path type.",
58+
"typescript.preferences.importModuleSpecifier.relative": "Relative to the file location.",
59+
"typescript.preferences.importModuleSpecifier.nonRelative": "Based on the `baseUrl` configured in your `jsconfig.json` / `tsconfig.json`.",
5760
"typescript.updateImportsOnFileMove.enabled": "Enable/disable automatic updating of import paths when you rename or move a file in VS Code. Possible values are: 'prompt' on each rename, 'always' update paths automatically, and 'never' rename paths and don't prompt me. Requires using TypeScript 2.9 or newer in the workspace.",
5861
"typescript.autoClosingTags": "Enable/disable automatic closing of JSX tags. Requires using TypeScript 3.0 or newer in the workspace."
59-
}
62+
}

0 commit comments

Comments
 (0)