Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/javascript/syntaxes/Readme.md
3316 views

The file JavaScript.tmLanguage.json is derived from TypeScriptReact.tmLanguage.

To update to the latest version:

  • cd extensions/typescript-basics 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