vscode/extensions/javascript/syntaxes
Matt Bierner 5ed55a8606 Don't treat dom properties as special for syntax highlighting
See https://github.com/Microsoft/TypeScript-TmLanguage/issues/691

Assuming that properties named `label` or `name` are dom properties is incorrect and causes a lot of false positives. This results in weirdly inconsistent colorization
2019-01-02 17:33:50 -08:00
..
JavaScript.tmLanguage.json Don't treat dom properties as special for syntax highlighting 2019-01-02 17:33:50 -08:00
JavaScriptReact.tmLanguage.json Don't treat dom properties as special for syntax highlighting 2019-01-02 17:33:50 -08:00
Readme.md [javascript] update grammar, grammar as JSON 2016-08-02 17:27:04 +02:00
Regular Expressions (JavaScript).tmLanguage Hello Code 2015-11-13 14:39:38 +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