nerd-sniped myself again and made this as a TS plugin (or VSCode ext. that embeds it)

defaults (configurable):
- no suggestions AT ALL if 0 char at caret pos
- NO external completions (current file only) if <= 4 char
- removes most (unrelevant) globals

https://github.com/astahmer/ts-plugin-filter-suggestions

Comments