kylin-code/extensions/javascript/syntaxes
chriswang521 b2638a9732 update baseCode:code-oss-1.85.2 2024-07-05 11:09:03 +08:00
..
JavaScript.tmLanguage.json update baseCode:code-oss-1.85.2 2024-07-05 11:09:03 +08:00
JavaScriptReact.tmLanguage.json update baseCode:code-oss-1.85.2 2024-07-05 11:09:03 +08:00
Readme.md update baseCode:code-oss-1.85.2 2024-07-05 11:09:03 +08:00
Regular Expressions (JavaScript).tmLanguage from 1.68.0 2022-06-14 14:37:10 +08:00

Readme.md

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