Config: change defaults and add descriptions

This commit is contained in:
Nathan Shively-Sanders 2023-09-20 10:12:11 -07:00
parent ba511b36f1
commit 530870bd40
2 changed files with 18 additions and 9 deletions

View file

@ -153,47 +153,47 @@
"properties": { "properties": {
"classIncorrectlyImplementsInterface": { "classIncorrectlyImplementsInterface": {
"type": "boolean", "type": "boolean",
"default": true, "default": false,
"description": "%typescript.experimental.aiCodeActions.classIncorrectlyImplementsInterface%" "description": "%typescript.experimental.aiCodeActions.classIncorrectlyImplementsInterface%"
}, },
"classDoesntImplementInheritedAbstractMember": { "classDoesntImplementInheritedAbstractMember": {
"type": "boolean", "type": "boolean",
"default": true, "default": false,
"description": "%typescript.experimental.aiCodeActions.classDoesntImplementInheritedAbstractMember%" "description": "%typescript.experimental.aiCodeActions.classDoesntImplementInheritedAbstractMember%"
}, },
"missingFunctionDeclaration": { "missingFunctionDeclaration": {
"type": "boolean", "type": "boolean",
"default": true, "default": false,
"description": "%typescript.experimental.aiCodeActions.missingFunctionDeclaration%" "description": "%typescript.experimental.aiCodeActions.missingFunctionDeclaration%"
}, },
"inferAndAddTypes": { "inferAndAddTypes": {
"type": "boolean", "type": "boolean",
"default": true, "default": false,
"description": "%typescript.experimental.aiCodeActions.inferAndAddTypes%" "description": "%typescript.experimental.aiCodeActions.inferAndAddTypes%"
}, },
"addNameToNamelessParameter": { "addNameToNamelessParameter": {
"type": "boolean", "type": "boolean",
"default": true, "default": false,
"description": "%typescript.experimental.aiCodeActions.addNameToNamelessParameter%" "description": "%typescript.experimental.aiCodeActions.addNameToNamelessParameter%"
}, },
"extractConstant": { "extractConstant": {
"type": "boolean", "type": "boolean",
"default": true, "default": false,
"description": "%typescript.experimental.aiCodeActions.extractConstant%" "description": "%typescript.experimental.aiCodeActions.extractConstant%"
}, },
"extractFunction": { "extractFunction": {
"type": "boolean", "type": "boolean",
"default": true, "default": false,
"description": "%typescript.experimental.aiCodeActions.extractFunction%" "description": "%typescript.experimental.aiCodeActions.extractFunction%"
}, },
"extractType": { "extractType": {
"type": "boolean", "type": "boolean",
"default": true, "default": false,
"description": "%typescript.experimental.aiCodeActions.extractType%" "description": "%typescript.experimental.aiCodeActions.extractType%"
}, },
"extractInterface": { "extractInterface": {
"type": "boolean", "type": "boolean",
"default": true, "default": false,
"description": "%typescript.experimental.aiCodeActions.extractInterface%" "description": "%typescript.experimental.aiCodeActions.extractInterface%"
} }
} }

View file

@ -9,6 +9,15 @@
"configuration.suggest.includeAutomaticOptionalChainCompletions": "Enable/disable showing completions on potentially undefined values that insert an optional chain call. Requires strict null checks to be enabled.", "configuration.suggest.includeAutomaticOptionalChainCompletions": "Enable/disable showing completions on potentially undefined values that insert an optional chain call. Requires strict null checks to be enabled.",
"configuration.suggest.includeCompletionsForImportStatements": "Enable/disable auto-import-style completions on partially-typed import statements.", "configuration.suggest.includeCompletionsForImportStatements": "Enable/disable auto-import-style completions on partially-typed import statements.",
"typescript.experimental.aiCodeActions": "Enable/disable AI-assisted code actions. Requires an extension providing AI chat functionality.", "typescript.experimental.aiCodeActions": "Enable/disable AI-assisted code actions. Requires an extension providing AI chat functionality.",
"typescript.experimental.aiCodeActions.classIncorrectlyImplementsInterface": "Enable/disable AI assistance for Class Incorrectly Implements Interface quickfix. Requires an extension providing AI chat functionality.",
"typescript.experimental.aiCodeActions.classDoesntImplementInheritedAbstractMember": "Enable/disable AI assistance for Class Doesn't Implement Inherited Abstract Member quickfix. Requires an extension providing AI chat functionality.",
"typescript.experimental.aiCodeActions.missingFunctionDeclaration": "Enable/disable AI assistance for Missing Function Declaration quickfix. Requires an extension providing AI chat functionality.",
"typescript.experimental.aiCodeActions.inferAndAddTypes": "Enable/disable AI assistance for Infer and Add Types refactor. Requires an extension providing AI chat functionality.",
"typescript.experimental.aiCodeActions.addNameToNamelessParameter": "Enable/disable AI assistance for Add Name to Nameless Parameter quickfix. Requires an extension providing AI chat functionality.",
"typescript.experimental.aiCodeActions.extractConstant": "Enable/disable AI assistance for Extract Constant refactor. Requires an extension providing AI chat functionality.",
"typescript.experimental.aiCodeActions.extractFunction": "Enable/disable AI assistance for Extract Function refactor. Requires an extension providing AI chat functionality.",
"typescript.experimental.aiCodeActions.extractType": "Enable/disable AI assistance for Extract Type refactor. Requires an extension providing AI chat functionality.",
"typescript.experimental.aiCodeActions.extractInterface": "Enable/disable AI assistance for Extract Interface refactor. Requires an extension providing AI chat functionality.",
"typescript.tsdk.desc": "Specifies the folder path to the tsserver and `lib*.d.ts` files under a TypeScript install to use for IntelliSense, for example: `./node_modules/typescript/lib`.\n\n- When specified as a user setting, the TypeScript version from `typescript.tsdk` automatically replaces the built-in TypeScript version.\n- When specified as a workspace setting, `typescript.tsdk` allows you to switch to use that workspace version of TypeScript for IntelliSense with the `TypeScript: Select TypeScript version` command.\n\nSee the [TypeScript documentation](https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-newer-typescript-versions) for more detail about managing TypeScript versions.", "typescript.tsdk.desc": "Specifies the folder path to the tsserver and `lib*.d.ts` files under a TypeScript install to use for IntelliSense, for example: `./node_modules/typescript/lib`.\n\n- When specified as a user setting, the TypeScript version from `typescript.tsdk` automatically replaces the built-in TypeScript version.\n- When specified as a workspace setting, `typescript.tsdk` allows you to switch to use that workspace version of TypeScript for IntelliSense with the `TypeScript: Select TypeScript version` command.\n\nSee the [TypeScript documentation](https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-newer-typescript-versions) for more detail about managing TypeScript versions.",
"typescript.disableAutomaticTypeAcquisition": "Disables [automatic type acquisition](https://code.visualstudio.com/docs/nodejs/working-with-javascript#_typings-and-automatic-type-acquisition). Automatic type acquisition fetches `@types` packages from npm to improve IntelliSense for external libraries.", "typescript.disableAutomaticTypeAcquisition": "Disables [automatic type acquisition](https://code.visualstudio.com/docs/nodejs/working-with-javascript#_typings-and-automatic-type-acquisition). Automatic type acquisition fetches `@types` packages from npm to improve IntelliSense for external libraries.",
"typescript.enablePromptUseWorkspaceTsdk": "Enables prompting of users to use the TypeScript version configured in the workspace for Intellisense.", "typescript.enablePromptUseWorkspaceTsdk": "Enables prompting of users to use the TypeScript version configured in the workspace for Intellisense.",