vscode/extensions/javascript/syntaxes
2024-01-26 13:06:22 +01:00
..
JavaScript.tmLanguage.json Update grammars (#203521) 2024-01-26 13:06:22 +01:00
JavaScriptReact.tmLanguage.json Update grammars (#203521) 2024-01-26 13:06:22 +01:00
Readme.md Fix supported markdown-lint violations in markdown files (#190750) 2023-08-24 08:37:25 +00: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