You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect Token Scoping for defer Keyword in TypeScript 5.9 in VSCode #1058
With the release of TypeScript 5.9, a new feature supporting the import defer functionality has been introduced. However, when using VSCode's "Developer: Inspect Editor Tokens and Scopes" to inspect the defer keyword, it is currently scoped as variable.other.readwrite.alias.ts instead of the expected import.control.defer.ts. This issue prevents the proper application of style changes using TextMate.
It seems that the defer keyword should be correctly scoped under the import.control.defer.ts range as mentioned above.
Thank you.
VS Code version: Code 1.103.0 (e3550cfac4b63ca4eafca7b601f0d2885817fd1f, 2025-08-06T21:40:10.271Z)
OS version: Darwin arm64 24.6.0
Modes:
Activity
robinblanco87-cmyk commentedon Sep 21, 2025
1.103.0 (e3550cfac4b63ca4eafca7b601f0d2885817fd1f, 2025-08-06T21:40:10.271Z)
OS version: Darwin arm64 24.6.0