mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Reorganize js/ts groupings
Previously I split these up by js and ts. This ends up creating too many group and having the js and ts settings too far from each other This PR changes the settings to be grouped only by feature, not language
This commit is contained in:
@@ -586,57 +586,117 @@
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "%configuration.typescript.suggest%",
|
||||
"title": "%configuration.suggest%",
|
||||
"order": 21,
|
||||
"properties": {
|
||||
"javascript.suggest.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.suggest.enabled%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"typescript.suggest.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.suggest.enabled%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.suggest.autoImports": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.autoImports%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.suggest.autoImports": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.autoImports%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.names": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"markdownDescription": "%configuration.suggest.names%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.completeFunctionCalls": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.suggest.completeFunctionCalls%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.suggest.completeFunctionCalls": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.suggest.completeFunctionCalls%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.paths": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.paths%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.suggest.paths": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.paths%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.completeJSDocs": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.completeJSDocs%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"typescript.suggest.completeJSDocs": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.completeJSDocs%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.suggest.jsdoc.generateReturns": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"markdownDescription": "%configuration.suggest.jsdoc.generateReturns%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"typescript.suggest.jsdoc.generateReturns": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"markdownDescription": "%configuration.suggest.jsdoc.generateReturns%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.suggest.includeAutomaticOptionalChainCompletions": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.includeAutomaticOptionalChainCompletions%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.suggest.includeAutomaticOptionalChainCompletions": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.includeAutomaticOptionalChainCompletions%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.includeCompletionsForImportStatements": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.includeCompletionsForImportStatements%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.suggest.includeCompletionsForImportStatements": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.includeCompletionsForImportStatements%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.classMemberSnippets.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.classMemberSnippets.enabled%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.suggest.classMemberSnippets.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
@@ -653,76 +713,25 @@
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "%configuration.javascript.suggest%",
|
||||
"title": "%configuration.preferences%",
|
||||
"order": 21,
|
||||
"properties": {
|
||||
"javascript.suggest.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.suggest.enabled%",
|
||||
"javascript.preferences.quoteStyle": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"auto",
|
||||
"single",
|
||||
"double"
|
||||
],
|
||||
"default": "auto",
|
||||
"markdownDescription": "%typescript.preferences.quoteStyle%",
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.quoteStyle.auto%",
|
||||
"%typescript.preferences.quoteStyle.single%",
|
||||
"%typescript.preferences.quoteStyle.double%"
|
||||
],
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.suggest.autoImports": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.autoImports%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.names": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"markdownDescription": "%configuration.suggest.names%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.paths": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.paths%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.completeJSDocs": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.completeJSDocs%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.suggest.jsdoc.generateReturns": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"markdownDescription": "%configuration.suggest.jsdoc.generateReturns%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.suggest.completeFunctionCalls": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.suggest.completeFunctionCalls%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.includeAutomaticOptionalChainCompletions": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.includeAutomaticOptionalChainCompletions%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.includeCompletionsForImportStatements": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.includeCompletionsForImportStatements%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.suggest.classMemberSnippets.enabled": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%configuration.suggest.classMemberSnippets.enabled%",
|
||||
"scope": "resource"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "%configuration.typescript.preferences%",
|
||||
"order": 21,
|
||||
"properties": {
|
||||
"typescript.preferences.quoteStyle": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -739,6 +748,24 @@
|
||||
],
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.importModuleSpecifier": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"shortest",
|
||||
"relative",
|
||||
"non-relative",
|
||||
"project-relative"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.importModuleSpecifier.shortest%",
|
||||
"%typescript.preferences.importModuleSpecifier.relative%",
|
||||
"%typescript.preferences.importModuleSpecifier.nonRelative%",
|
||||
"%typescript.preferences.importModuleSpecifier.projectRelative%"
|
||||
],
|
||||
"default": "shortest",
|
||||
"description": "%typescript.preferences.importModuleSpecifier%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"typescript.preferences.importModuleSpecifier": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -757,6 +784,30 @@
|
||||
"description": "%typescript.preferences.importModuleSpecifier%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.importModuleSpecifierEnding": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"auto",
|
||||
"minimal",
|
||||
"index",
|
||||
"js"
|
||||
],
|
||||
"enumItemLabels": [
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
"%typescript.preferences.importModuleSpecifierEnding.label.js%"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.importModuleSpecifierEnding.auto%",
|
||||
"%typescript.preferences.importModuleSpecifierEnding.minimal%",
|
||||
"%typescript.preferences.importModuleSpecifierEnding.index%",
|
||||
"%typescript.preferences.importModuleSpecifierEnding.js%"
|
||||
],
|
||||
"default": "auto",
|
||||
"description": "%typescript.preferences.importModuleSpecifierEnding%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"typescript.preferences.importModuleSpecifierEnding": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -781,6 +832,22 @@
|
||||
"description": "%typescript.preferences.importModuleSpecifierEnding%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.jsxAttributeCompletionStyle": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"auto",
|
||||
"braces",
|
||||
"none"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%javascript.preferences.jsxAttributeCompletionStyle.auto%",
|
||||
"%typescript.preferences.jsxAttributeCompletionStyle.braces%",
|
||||
"%typescript.preferences.jsxAttributeCompletionStyle.none%"
|
||||
],
|
||||
"default": "auto",
|
||||
"description": "%typescript.preferences.jsxAttributeCompletionStyle%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"typescript.preferences.jsxAttributeCompletionStyle": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -813,6 +880,14 @@
|
||||
"markdownDescription": "%typescript.preferences.includePackageJsonAutoImports%",
|
||||
"scope": "window"
|
||||
},
|
||||
"javascript.preferences.autoImportFileExcludePatterns": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"markdownDescription": "%typescript.preferences.autoImportFileExcludePatterns%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.preferences.autoImportFileExcludePatterns": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -821,6 +896,14 @@
|
||||
"markdownDescription": "%typescript.preferences.autoImportFileExcludePatterns%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.preferences.autoImportSpecifierExcludeRegexes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"markdownDescription": "%typescript.preferences.autoImportSpecifierExcludeRegexes%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.preferences.autoImportSpecifierExcludeRegexes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -835,6 +918,13 @@
|
||||
"markdownDescription": "%typescript.preferences.preferTypeOnlyAutoImports%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.preferences.renameShorthandProperties": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.preferences.useAliasesForRenames%",
|
||||
"deprecationMessage": "%typescript.preferences.renameShorthandProperties.deprecationMessage%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"typescript.preferences.renameShorthandProperties": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
@@ -842,18 +932,108 @@
|
||||
"deprecationMessage": "%typescript.preferences.renameShorthandProperties.deprecationMessage%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.useAliasesForRenames": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.preferences.useAliasesForRenames%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"typescript.preferences.useAliasesForRenames": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.preferences.useAliasesForRenames%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.renameMatchingJsxTags": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.preferences.renameMatchingJsxTags%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"typescript.preferences.renameMatchingJsxTags": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.preferences.renameMatchingJsxTags%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.organizeImports": {
|
||||
"type": "object",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports%",
|
||||
"properties": {
|
||||
"caseSensitivity": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.caseSensitivity%",
|
||||
"enum": [
|
||||
"auto",
|
||||
"caseInsensitive",
|
||||
"caseSensitive"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.organizeImports.caseSensitivity.auto%",
|
||||
"%typescript.preferences.organizeImports.caseSensitivity.insensitive",
|
||||
"%typescript.preferences.organizeImports.caseSensitivity.sensitive%"
|
||||
],
|
||||
"default": "auto"
|
||||
},
|
||||
"typeOrder": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.typeOrder%",
|
||||
"enum": [
|
||||
"auto",
|
||||
"last",
|
||||
"inline",
|
||||
"first"
|
||||
],
|
||||
"default": "auto",
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.organizeImports.typeOrder.auto%",
|
||||
"%typescript.preferences.organizeImports.typeOrder.last%",
|
||||
"%typescript.preferences.organizeImports.typeOrder.inline%",
|
||||
"%typescript.preferences.organizeImports.typeOrder.first%"
|
||||
]
|
||||
},
|
||||
"unicodeCollation": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.unicodeCollation%",
|
||||
"enum": [
|
||||
"ordinal",
|
||||
"unicode"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.organizeImports.unicodeCollation.ordinal%",
|
||||
"%typescript.preferences.organizeImports.unicodeCollation.unicode%"
|
||||
],
|
||||
"default": "ordinal"
|
||||
},
|
||||
"locale": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.locale%"
|
||||
},
|
||||
"numericCollation": {
|
||||
"type": "boolean",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.numericCollation%"
|
||||
},
|
||||
"accentCollation": {
|
||||
"type": "boolean",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.accentCollation%"
|
||||
},
|
||||
"caseFirst": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.caseFirst%",
|
||||
"enum": [
|
||||
"default",
|
||||
"upper",
|
||||
"lower"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.organizeImports.caseFirst.default%",
|
||||
"%typescript.preferences.organizeImports.caseFirst.upper%",
|
||||
"%typescript.preferences.organizeImports.caseFirst.lower%"
|
||||
],
|
||||
"default": "default"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typescript.preferences.organizeImports": {
|
||||
"type": "object",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports%",
|
||||
@@ -936,281 +1116,171 @@
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "%configuration.javascript.preferences%",
|
||||
"order": 22,
|
||||
"properties": {
|
||||
"javascript.preferences.quoteStyle": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"auto",
|
||||
"single",
|
||||
"double"
|
||||
],
|
||||
"default": "auto",
|
||||
"markdownDescription": "%typescript.preferences.quoteStyle%",
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.quoteStyle.auto%",
|
||||
"%typescript.preferences.quoteStyle.single%",
|
||||
"%typescript.preferences.quoteStyle.double%"
|
||||
],
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.importModuleSpecifier": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"shortest",
|
||||
"relative",
|
||||
"non-relative",
|
||||
"project-relative"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.importModuleSpecifier.shortest%",
|
||||
"%typescript.preferences.importModuleSpecifier.relative%",
|
||||
"%typescript.preferences.importModuleSpecifier.nonRelative%",
|
||||
"%typescript.preferences.importModuleSpecifier.projectRelative%"
|
||||
],
|
||||
"default": "shortest",
|
||||
"description": "%typescript.preferences.importModuleSpecifier%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.importModuleSpecifierEnding": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"auto",
|
||||
"minimal",
|
||||
"index",
|
||||
"js"
|
||||
],
|
||||
"enumItemLabels": [
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
"%typescript.preferences.importModuleSpecifierEnding.label.js%"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.importModuleSpecifierEnding.auto%",
|
||||
"%typescript.preferences.importModuleSpecifierEnding.minimal%",
|
||||
"%typescript.preferences.importModuleSpecifierEnding.index%",
|
||||
"%typescript.preferences.importModuleSpecifierEnding.js%"
|
||||
],
|
||||
"default": "auto",
|
||||
"description": "%typescript.preferences.importModuleSpecifierEnding%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.jsxAttributeCompletionStyle": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"auto",
|
||||
"braces",
|
||||
"none"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%javascript.preferences.jsxAttributeCompletionStyle.auto%",
|
||||
"%typescript.preferences.jsxAttributeCompletionStyle.braces%",
|
||||
"%typescript.preferences.jsxAttributeCompletionStyle.none%"
|
||||
],
|
||||
"default": "auto",
|
||||
"description": "%typescript.preferences.jsxAttributeCompletionStyle%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.autoImportFileExcludePatterns": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"markdownDescription": "%typescript.preferences.autoImportFileExcludePatterns%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.preferences.autoImportSpecifierExcludeRegexes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"markdownDescription": "%typescript.preferences.autoImportSpecifierExcludeRegexes%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.preferences.renameShorthandProperties": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.preferences.useAliasesForRenames%",
|
||||
"deprecationMessage": "%typescript.preferences.renameShorthandProperties.deprecationMessage%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.useAliasesForRenames": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.preferences.useAliasesForRenames%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.renameMatchingJsxTags": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.preferences.renameMatchingJsxTags%",
|
||||
"scope": "language-overridable"
|
||||
},
|
||||
"javascript.preferences.organizeImports": {
|
||||
"type": "object",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports%",
|
||||
"properties": {
|
||||
"caseSensitivity": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.caseSensitivity%",
|
||||
"enum": [
|
||||
"auto",
|
||||
"caseInsensitive",
|
||||
"caseSensitive"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.organizeImports.caseSensitivity.auto%",
|
||||
"%typescript.preferences.organizeImports.caseSensitivity.insensitive",
|
||||
"%typescript.preferences.organizeImports.caseSensitivity.sensitive%"
|
||||
],
|
||||
"default": "auto"
|
||||
},
|
||||
"typeOrder": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.typeOrder%",
|
||||
"enum": [
|
||||
"auto",
|
||||
"last",
|
||||
"inline",
|
||||
"first"
|
||||
],
|
||||
"default": "auto",
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.organizeImports.typeOrder.auto%",
|
||||
"%typescript.preferences.organizeImports.typeOrder.last%",
|
||||
"%typescript.preferences.organizeImports.typeOrder.inline%",
|
||||
"%typescript.preferences.organizeImports.typeOrder.first%"
|
||||
]
|
||||
},
|
||||
"unicodeCollation": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.unicodeCollation%",
|
||||
"enum": [
|
||||
"ordinal",
|
||||
"unicode"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.organizeImports.unicodeCollation.ordinal%",
|
||||
"%typescript.preferences.organizeImports.unicodeCollation.unicode%"
|
||||
],
|
||||
"default": "ordinal"
|
||||
},
|
||||
"locale": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.locale%"
|
||||
},
|
||||
"numericCollation": {
|
||||
"type": "boolean",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.numericCollation%"
|
||||
},
|
||||
"accentCollation": {
|
||||
"type": "boolean",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.accentCollation%"
|
||||
},
|
||||
"caseFirst": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%typescript.preferences.organizeImports.caseFirst%",
|
||||
"enum": [
|
||||
"default",
|
||||
"upper",
|
||||
"lower"
|
||||
],
|
||||
"markdownEnumDescriptions": [
|
||||
"%typescript.preferences.organizeImports.caseFirst.default%",
|
||||
"%typescript.preferences.organizeImports.caseFirst.upper%",
|
||||
"%typescript.preferences.organizeImports.caseFirst.lower%"
|
||||
],
|
||||
"default": "default"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "%configuration.typescript.format%",
|
||||
"title": "%configuration.format%",
|
||||
"order": 23,
|
||||
"properties": {
|
||||
"javascript.format.enable": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%javascript.format.enable%",
|
||||
"scope": "window"
|
||||
},
|
||||
"typescript.format.enable": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%typescript.format.enable%",
|
||||
"scope": "window"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterCommaDelimiter": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterCommaDelimiter%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceAfterCommaDelimiter": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterCommaDelimiter%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterConstructor": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterConstructor%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceAfterConstructor": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterConstructor%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterSemicolonInForStatements": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterSemicolonInForStatements%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceAfterSemicolonInForStatements": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterSemicolonInForStatements%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceBeforeAndAfterBinaryOperators": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceBeforeAndAfterBinaryOperators%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceBeforeAndAfterBinaryOperators": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceBeforeAndAfterBinaryOperators%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterKeywordsInControlFlowStatements%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterKeywordsInControlFlowStatements%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterFunctionKeywordForAnonymousFunctions%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterFunctionKeywordForAnonymousFunctions%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceBeforeFunctionParenthesis": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceBeforeFunctionParenthesis%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceBeforeFunctionParenthesis": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceBeforeFunctionParenthesis%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -1223,143 +1293,30 @@
|
||||
"description": "%format.insertSpaceAfterTypeAssertion%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.placeOpenBraceOnNewLineForFunctions": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.placeOpenBraceOnNewLineForFunctions%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.placeOpenBraceOnNewLineForControlBlocks%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.semicolons": {
|
||||
"type": "string",
|
||||
"default": "ignore",
|
||||
"description": "%format.semicolons%",
|
||||
"scope": "resource",
|
||||
"enum": [
|
||||
"ignore",
|
||||
"insert",
|
||||
"remove"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"%format.semicolons.ignore%",
|
||||
"%format.semicolons.insert%",
|
||||
"%format.semicolons.remove%"
|
||||
]
|
||||
},
|
||||
"typescript.format.indentSwitchCase": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.indentSwitchCase%",
|
||||
"scope": "resource"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "%configuration.javascript.format%",
|
||||
"order": 24,
|
||||
"properties": {
|
||||
"javascript.format.enable": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%javascript.format.enable%",
|
||||
"scope": "window"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterCommaDelimiter": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterCommaDelimiter%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterConstructor": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterConstructor%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterSemicolonInForStatements": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterSemicolonInForStatements%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceBeforeAndAfterBinaryOperators": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceBeforeAndAfterBinaryOperators%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterKeywordsInControlFlowStatements%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterFunctionKeywordForAnonymousFunctions%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceBeforeFunctionParenthesis": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceBeforeFunctionParenthesis%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.placeOpenBraceOnNewLineForFunctions": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.placeOpenBraceOnNewLineForFunctions%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.placeOpenBraceOnNewLineForFunctions": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.placeOpenBraceOnNewLineForFunctions%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.placeOpenBraceOnNewLineForControlBlocks": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.placeOpenBraceOnNewLineForControlBlocks%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%format.placeOpenBraceOnNewLineForControlBlocks%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"javascript.format.semicolons": {
|
||||
"type": "string",
|
||||
"default": "ignore",
|
||||
@@ -1376,11 +1333,33 @@
|
||||
"%format.semicolons.remove%"
|
||||
]
|
||||
},
|
||||
"typescript.format.semicolons": {
|
||||
"type": "string",
|
||||
"default": "ignore",
|
||||
"description": "%format.semicolons%",
|
||||
"scope": "resource",
|
||||
"enum": [
|
||||
"ignore",
|
||||
"insert",
|
||||
"remove"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"%format.semicolons.ignore%",
|
||||
"%format.semicolons.insert%",
|
||||
"%format.semicolons.remove%"
|
||||
]
|
||||
},
|
||||
"javascript.format.indentSwitchCase": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.indentSwitchCase%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"typescript.format.indentSwitchCase": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "%format.indentSwitchCase%",
|
||||
"scope": "resource"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user