TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
Перейти к файлу
Sheetal Nandi 23b94ac95d Handle multiline import statement
Fixes #607
2018-04-27 15:52:58 -07:00
.vscode
build Add more types to grammar and theme reading 2018-04-27 14:14:58 -07:00
tests Handle multiline import statement 2018-04-27 15:52:58 -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
ErrorList.YAML-tmLanguage
FindRefs.YAML-tmLanguage
LICENSE.txt
README.md Update README.md 2018-01-25 15:12:09 -08:00
ThirdPartyNotices.txt
TypeScript Indent.YAML-tmPreferences
TypeScript Indent.tmPreferences
TypeScript.YAML-tmLanguage Handle multiline import statement 2018-04-27 15:52:58 -07:00
TypeScript.YAML-tmTheme Fix issue with JSX attributes not being colorized 2018-02-20 17:21:10 -08:00
TypeScript.tmLanguage Handle multiline import statement 2018-04-27 15:52:58 -07:00
TypeScript.tmTheme Fix issue with JSX attributes not being colorized 2018-02-20 17:21:10 -08:00
TypeScriptReact.YAML-tmLanguage Fix the type argument detection in tag without attributes 2018-04-27 12:53:15 -07:00
TypeScriptReact.YAML-tmTheme
TypeScriptReact.tmLanguage Handle multiline import statement 2018-04-27 15:52:58 -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-04-20 12:28:40 -07:00
package-lock.json Add more types to grammar and theme reading 2018-04-27 14:14:58 -07:00
package.json Combine builds and tests generation, add travis ci 2018-01-25 14:58:01 -08: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