Files
vscode/extensions/typescript-language-features
Matt Bierner ae77c3ff42 Optimistically show paste with imports if TS server takes to long when computing imports to add
Fixes #235959

When pasting across files, sometimes users can see a spinner while we wait to see if TS has a `paste with imports` edit. This needs to be done even if we insert plain text by default so that we can then show the paste widget and user can select `paste with imports`

This change makes it so that if TS takes over 200ms, we assume that a paste operation may be available and return an unresolved edit for it. Only when the edit then actually needs to be applied, we wait for TS to respond

In most cases we won't need to wait because plain text will be pasted by default. Users will then only see the spinner after selecting `paste with imports`
2025-02-07 00:01:46 -08:00
..
2019-04-08 15:45:47 -04:00
2025-01-15 21:21:58 +01:00

Language Features for TypeScript and JavaScript files

Notice: This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.

Features

See TypeScript in Visual Studio Code and JavaScript in Visual Studio Code to learn about the features of this extension.