TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
Перейти к файлу
Sheetal Nandi 7db029d755 Fix incorrect constructor type's type parameter detection
Fixes #687
2018-11-29 10:10:12 -08:00
.vscode Add .YAML-tmTheme as well 2017-09-13 11:22:31 -07:00
build Add more types to grammar and theme reading 2018-04-27 14:14:58 -07:00
tests Fix incorrect constructor type's type parameter detection 2018-11-29 10:10:12 -08:00
.gitignore Combine builds and tests generation, add travis ci 2018-01-25 14:58:01 -08:00
.travis.yml Do not cache node_modules 2018-04-27 14:30:45 -07:00
Comments.tmPreferences Generate new UUIDs 2017-02-22 01:50:03 -06:00
ErrorList.YAML-tmLanguage Initial commit. 2015-11-05 13:14:57 -08:00
FindRefs.YAML-tmLanguage Parse longer expressions first, to help ligatures in Editors 2016-04-18 14:21:47 +02:00
LICENSE.txt Remove non-standard text at beginning of license 2017-07-23 12:31:09 +02:00
README.md Update README.md 2018-01-25 15:12:09 -08:00
ThirdPartyNotices.txt Adding third party notices 2016-09-23 15:51:09 -07:00
TypeScript Indent.YAML-tmPreferences Initial commit. 2015-11-05 13:14:57 -08:00
TypeScript Indent.tmPreferences Initial commit. 2015-11-05 13:14:57 -08:00
TypeScript.YAML-tmLanguage Fix incorrect constructor type's type parameter detection 2018-11-29 10:10:12 -08:00
TypeScript.YAML-tmTheme Fix issue with JSX attributes not being colorized 2018-02-20 17:21:10 -08:00
TypeScript.tmLanguage Fix incorrect constructor type's type parameter detection 2018-11-29 10:10:12 -08:00
TypeScript.tmTheme Fix issue with JSX attributes not being colorized 2018-02-20 17:21:10 -08:00
TypeScriptReact.YAML-tmLanguage Allow _ in jsx attribute names 2018-08-23 10:27:19 +02:00
TypeScriptReact.YAML-tmTheme Generate new UUIDs 2017-02-22 01:50:03 -06:00
TypeScriptReact.tmLanguage Fix incorrect constructor type's type parameter detection 2018-11-29 10:10:12 -08:00
TypeScriptReact.tmTheme Fix issue with JSX attributes not being colorized 2018-02-20 17:21:10 -08:00
appveyor.yml Combine builds and tests generation, add travis ci 2018-01-25 14:58:01 -08:00
issue_template.md Update issue_template.md 2018-11-20 15:41:42 -08:00
package-lock.json Use --build to build tests and tmlanguage files 2018-09-17 19:34:12 -07:00
package.json Use --build to build tests and tmlanguage files 2018-09-17 19:34:12 -07:00

README.md

TypeScript-TmLanguage

Build status

This repository contains TmLanguage files that are consumed by TypeScript editors and plugins such as Visual Studio Code, The TypeScript Sublime Plugin, Atom TypeScript, and possibly others.

Latest version of the grammar can be also found as a VSCode extension.

Contributing

The XML files are generated from the YAML files, so contributors should hand-modify the YAML files, and XML files should only be generated by running build script.

Install dependencies

npm install

Build

Compile the yaml file into the tmLanguage and tmTheme files

npm run build:grammar

Tests

npm test            # Compiles & runs tests

npm run diff        # Diffs the test baselines with generated one using tool set in environment variable DIFF
npm run accept      # Accepts the test baselines