[ts] upate grammar, remove meta scopes

This commit is contained in:
Martin Aeschlimann
2016-10-14 10:13:51 +02:00
parent d34c873db7
commit de957293de
21 changed files with 24125 additions and 11815 deletions

View File

@@ -3,3 +3,14 @@ The file `TypeScript.tmLanguage.json` and `TypeScriptReact.tmLanguage.json` are
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`
Migration notes and todos:
- differentiate variable and function declarations from references
- functions now use 'entity.function.name'.
- My understanding of the textmate spec is that entity should be used for declarations, but other JS grammars also use it for references
- I suggest we use a new scope segment 'reference' to sigmal a reference and 'declaration' for a declaration.
- variables use 'variable' through ot which is common practice
- I suggest we use a new scope segment 'reference' to sigmal a reference and 'declaration' for a declaration.
- return.type -> return-type

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long