Skip to content

Commit

Permalink
Make sure we always apply TS auto imports, even if VS Code applies th…
Browse files Browse the repository at this point in the history
…e completion before it has been resolved

Fixes #109439

This introduces a new `ApplyCompletionCommand` that is included on all JS/TS completions, which  applies additional parts of the completion (such as auto imports).

This is needed since VS Code will not always wait until `resolveCompletionItem` completes before appling the completion. This causes auto imports to sometimes not work when typing quickly
  • Loading branch information
mjbvz committed Feb 2, 2021
1 parent 60bb22d commit d99c218
Showing 1 changed file with 233 additions and 158 deletions.
Loading

0 comments on commit d99c218

Please sign in to comment.