File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,13 @@ export type Configuration = {
50
50
* @default true
51
51
*/
52
52
'patchToString.enable' : boolean
53
- // TODO achieve perfomace by patching the host
54
- /** @default [] */
53
+ /**
54
+ * Note: Please use `javascript`/`typescript.preferences.autoImportFileExcludePatterns` when possible, to achieve better performance!
55
+ * e.g. instead of declaring `@mui/icons-material` here, declare `node_modules/@mui/icons-material` in aforementioned setting.
56
+ *
57
+ * And only use this, if auto-imports coming not from physical files (e.g. some modules node imports)
58
+ * @default []
59
+ */
55
60
'suggestions.banAutoImportPackages' : string [ ]
56
61
/**
57
62
* What insert text to use for keywords (e.g. `return`)
@@ -156,6 +161,11 @@ export type Configuration = {
156
161
* @default true
157
162
*/
158
163
'jsxImproveElementsSuggestions.enabled' : boolean
164
+ /**
165
+ * Recommended to enable to experience less uneeded suggestions unless you are using JSX Elements declared in namespaces
166
+ * @default false
167
+ */
168
+ 'jsxImproveElementsSuggestions.filterNamespaces' : boolean
159
169
/**
160
170
* @default false
161
171
*/
@@ -312,5 +322,6 @@ export type Configuration = {
312
322
* Also affects builtin typescript.suggest.objectLiteralMethodSnippets, even when additional completions disabled
313
323
* @default below
314
324
*/
325
+ // TODO its a bug, change to after & before with fixed behavior
315
326
'objectLiteralCompletions.keepOriginal' : 'below' | 'above' | 'remove'
316
327
}
You can’t perform that action at this time.
0 commit comments