mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
[javascript] update grammar, grammar as JSON
This commit is contained in:
File diff suppressed because it is too large
Load Diff
1526
extensions/javascript/syntaxes/JavaScript.tmLanguage.json
Normal file
1526
extensions/javascript/syntaxes/JavaScript.tmLanguage.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,10 @@
|
||||
The JavaScript.tmLanguage bundle is derived from the TypeScriptReact.tmLanguage.
|
||||
The file `JavaScript.tmLanguage.json` is derived from [TypeScriptReact.tmLanguage](https://github.com/Microsoft/TypeScript-TmLanguage/blob/master/TypeScriptReact.tmLanguage).
|
||||
|
||||
Changes:
|
||||
- fileTypes .tsx -> .js
|
||||
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 language name and file types
|
||||
- update all rule names .tsx -> .js
|
||||
|
||||
Reference in New Issue
Block a user