File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,8 +50,13 @@ export type Configuration = {
5050 * @default true
5151 */
5252 '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+ */
5560 'suggestions.banAutoImportPackages' : string [ ]
5661 /**
5762 * What insert text to use for keywords (e.g. `return`)
@@ -156,6 +161,11 @@ export type Configuration = {
156161 * @default true
157162 */
158163 '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
159169 /**
160170 * @default false
161171 */
@@ -312,5 +322,6 @@ export type Configuration = {
312322 * Also affects builtin typescript.suggest.objectLiteralMethodSnippets, even when additional completions disabled
313323 * @default below
314324 */
325+ // TODO its a bug, change to after & before with fixed behavior
315326 'objectLiteralCompletions.keepOriginal' : 'below' | 'above' | 'remove'
316327}
You can’t perform that action at this time.
0 commit comments