microsoft / TypeScript-TmLanguage

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

TypeScript IntelliSense support less valid variable unicode identifier than tsc #915

Open npc1054657282 opened 2 years ago

npc1054657282 commented 2 years ago

Code

let let big𒊹f = 4;
console.log(big𒊹f);
//4

"𒊹" is a valid identifier unicode, in https://www.typescriptlang.org/play, it works normally. But in vscode JavaScript and TypeScript Nightly extension, an error "Invalid character.ts(1127)" will show.