TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
Перейти к файлу
Sheetal Nandi 27425437b2 Support < followed by new line as possibly arrow start
Fixes #637
2018-07-20 12:52:00 -07: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 Support < followed by new line as possibly arrow start 2018-07-20 12:52:00 -07: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 Support < followed by new line as possibly arrow start 2018-07-20 12:52:00 -07:00
TypeScript.YAML-tmTheme Fix issue with JSX attributes not being colorized 2018-02-20 17:21:10 -08:00
TypeScript.tmLanguage Support < followed by new line as possibly arrow start 2018-07-20 12:52:00 -07:00
TypeScript.tmTheme Fix issue with JSX attributes not being colorized 2018-02-20 17:21:10 -08:00
TypeScriptReact.YAML-tmLanguage Support < followed by new line as possibly arrow start 2018-07-20 12:52:00 -07:00
TypeScriptReact.YAML-tmTheme Generate new UUIDs 2017-02-22 01:50:03 -06:00
TypeScriptReact.tmLanguage Support < followed by new line as possibly arrow start 2018-07-20 12:52:00 -07: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-06-14 13:40:05 -07:00
package-lock.json Add tests 2018-06-25 17:45:23 -07:00
package.json Add tests 2018-06-25 17:45:23 -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