Files
vscode/extensions/javascript/syntaxes
Matt Bierner d06bf76099 Update js/ts grammar
Fixes #35768
Fixes #35639
2017-10-09 08:46:43 -07: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