Skip to content

Commit 3e0761c

Browse files
committed
Fix setting
1 parent 913b9b9 commit 3e0761c

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

extensions/typescript-language-features/package.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,13 @@
11161116
"inline",
11171117
"first"
11181118
],
1119-
"default": "auto"
1119+
"default": "auto",
1120+
"markdownEnumDescriptions": [
1121+
"%typescript.preferences.organizeImports.typeOrder.auto%",
1122+
"%typescript.preferences.organizeImports.typeOrder.last%",
1123+
"%typescript.preferences.organizeImports.typeOrder.inline%",
1124+
"%typescript.preferences.organizeImports.typeOrder.first%"
1125+
]
11201126
},
11211127
"unicodeCollation": {
11221128
"type": "string",
@@ -1180,7 +1186,13 @@
11801186
"inline",
11811187
"first"
11821188
],
1183-
"default": "auto"
1189+
"default": "auto",
1190+
"markdownEnumDescriptions": [
1191+
"%typescript.preferences.organizeImports.typeOrder.auto%",
1192+
"%typescript.preferences.organizeImports.typeOrder.last%",
1193+
"%typescript.preferences.organizeImports.typeOrder.inline%",
1194+
"%typescript.preferences.organizeImports.typeOrder.first%"
1195+
]
11841196
},
11851197
"unicodeCollation": {
11861198
"type": "string",

extensions/typescript-language-features/src/languageFeatures/fileConfigurationManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export default class FileConfigurationManager extends Disposable {
201201
interactiveInlayHints: true,
202202
includeCompletionsForModuleExports: config.get<boolean>('suggest.autoImports'),
203203
...getInlayHintsPreferences(config),
204-
...this.getOrganizeImportsPreferences(config),
204+
...this.getOrganizeImportsPreferences(preferencesConfig),
205205
};
206206

207207
return preferences;

0 commit comments

Comments
 (0)