microsoft / TypeScript-TmLanguage

TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
MIT License
397 stars 125 forks source link

Language TypeScript highlighting error edge case #950

Open ntnyq opened 1 year ago

ntnyq commented 1 year ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. Create a TS file
  2. Paste import type from './type' in it

type should be highlighted as a variable name rather than a keyword.

VSCodeTriageBot commented 1 year ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

ntnyq commented 1 year ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

Sorry, it's a typo.

Updated!.

sheetalkamat commented 1 year ago

Duplicate of #891 Given how tmlanguage grammar works and how we have things set up the effort to fix this is too much compared to how many people are running into this.