vscode/extensions/javascript/syntaxes
2019-05-10 15:43:38 -07:00
..
JavaScript.tmLanguage.json Update js/ts grammar 2019-05-10 15:43:38 -07:00
JavaScriptReact.tmLanguage.json Update js/ts grammar 2019-05-10 15:43:38 -07:00
Readme.md
Regular Expressions (JavaScript).tmLanguage

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