vscode/extensions/javascript/syntaxes
mxwj 018ff30de3
Some checks failed
Monaco Editor checks / Monaco Editor checks (push) Has been cancelled
Initial commit
2024-11-15 14:29:18 +08:00
..
JavaScript.tmLanguage.json Initial commit 2024-11-15 14:29:18 +08:00
JavaScriptReact.tmLanguage.json Initial commit 2024-11-15 14:29:18 +08:00
Readme.md Initial commit 2024-11-15 14:29:18 +08:00
Regular Expressions (JavaScript).tmLanguage Initial commit 2024-11-15 14:29:18 +08: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