Fix setting

This commit is contained in:
Matt Bierner
2024-08-28 14:11:30 -07:00
parent 913b9b9a2c
commit 3e0761cc9f
2 changed files with 15 additions and 3 deletions

View File

@@ -1116,7 +1116,13 @@
"inline", "inline",
"first" "first"
], ],
"default": "auto" "default": "auto",
"markdownEnumDescriptions": [
"%typescript.preferences.organizeImports.typeOrder.auto%",
"%typescript.preferences.organizeImports.typeOrder.last%",
"%typescript.preferences.organizeImports.typeOrder.inline%",
"%typescript.preferences.organizeImports.typeOrder.first%"
]
}, },
"unicodeCollation": { "unicodeCollation": {
"type": "string", "type": "string",
@@ -1180,7 +1186,13 @@
"inline", "inline",
"first" "first"
], ],
"default": "auto" "default": "auto",
"markdownEnumDescriptions": [
"%typescript.preferences.organizeImports.typeOrder.auto%",
"%typescript.preferences.organizeImports.typeOrder.last%",
"%typescript.preferences.organizeImports.typeOrder.inline%",
"%typescript.preferences.organizeImports.typeOrder.first%"
]
}, },
"unicodeCollation": { "unicodeCollation": {
"type": "string", "type": "string",

View File

@@ -201,7 +201,7 @@ export default class FileConfigurationManager extends Disposable {
interactiveInlayHints: true, interactiveInlayHints: true,
includeCompletionsForModuleExports: config.get<boolean>('suggest.autoImports'), includeCompletionsForModuleExports: config.get<boolean>('suggest.autoImports'),
...getInlayHintsPreferences(config), ...getInlayHintsPreferences(config),
...this.getOrganizeImportsPreferences(config), ...this.getOrganizeImportsPreferences(preferencesConfig),
}; };
return preferences; return preferences;