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",
"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": {
"type": "string",
@@ -1180,7 +1186,13 @@
"inline",
"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": {
"type": "string",

View File

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