mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Identifying specific symbols is a better fit for semantic highlighting instead of textmate as semantic highlighting prevents false positives This keeps around a few of the most built-ins for now but we may revisit these in the future
The file JavaScript.tmLanguage.json is derived from TypeScriptReact.tmLanguage.
To update to the latest version:
cd extensions/typescriptand runnpm run update-grammars- don't forget to run the integration tests at
./scripts/test-integration.sh
The script does the following changes:
- fileTypes .tsx -> .js & .jsx
- scopeName scope.tsx -> scope.js
- update all rule names .tsx -> .js