mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 12:15:34 -06:00
* Demote priority of JS completions Fixes #48498 Unchecked JS files gather identifier-based completions. Currently, this search happens instead of `getCompletionEntriesFromSymbols` for TS/checked JS files. However, identifier-based completions are much lower quality and can be ignored by some editors. Identifier-based completions should be gathered last, after gathering other completions. That's what this PR does. * Invert isUncheckedFile to avoid double negative * dedupe calls to getCompletionEntriesFromSymbols * Stop re-creating list of entry names * more deduping + fix lint