Files
vscode/extensions
Matt Bierner 1569f9d9d7 Don't cancel file reopen if language has changed (#182657)
Fixes #182526

The chat panel changes the language of a document. This revealed a bug in JS/TS about language changes.

Normally changing a language should close and reopen a text document. However we added an optimization to not do this full flow if the open then close happens quickly

However this causes issues if the file changes languages as TS gets into a state where its doc language id does not match VS Code's language id. To fix this, I've limited the optimization to only apply when the expected script kinds match
2023-05-16 12:28:14 -07:00
..
2023-03-10 20:02:01 +08:00
2023-03-29 11:38:06 +02:00
2023-04-28 17:43:01 +02:00
2023-02-24 17:22:41 +01:00
2023-05-10 16:17:58 -07:00
2023-03-03 13:08:21 +01:00
2023-04-17 21:27:38 +01:00
2023-04-28 17:43:01 +02:00
2023-04-28 17:43:01 +02:00
2023-01-10 11:50:28 +01:00
2023-02-24 17:22:41 +01:00
2023-03-29 11:38:06 +02:00
2023-01-30 06:27:20 -08:00
2023-03-29 11:38:06 +02:00
2023-05-11 12:29:42 -07:00