vscode/extensions/javascript/syntaxes
Matt Bierner 1da08937d8
Remove text mate highlighting of more JS/TS built-ins
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
2022-03-01 16:17:16 -08:00
..
JavaScript.tmLanguage.json Remove text mate highlighting of more JS/TS built-ins 2022-03-01 16:17:16 -08:00
JavaScriptReact.tmLanguage.json Remove text mate highlighting of more JS/TS built-ins 2022-03-01 16:17:16 -08:00
Readme.md Restore extensions in core (#114921) 2021-01-25 17:07:56 +01:00
Regular Expressions (JavaScript).tmLanguage Restore extensions in core (#114921) 2021-01-25 17:07:56 +01:00

The file JavaScript.tmLanguage.json is derived from TypeScriptReact.tmLanguage.

To update to the latest version:

  • cd extensions/typescript and run npm 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