TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
Permalink
Failed to load latest commit information.
.vscode Add .YAML-tmTheme as well Sep 13, 2017
build Add more types to grammar and theme reading Apr 27, 2018
tests Handle inline comment in object literal Sep 19, 2018
.gitignore Combine builds and tests generation, add travis ci Jan 25, 2018
.travis.yml Do not cache node_modules Apr 27, 2018
Comments.tmPreferences Generate new UUIDs Feb 22, 2017
ErrorList.YAML-tmLanguage Initial commit. Nov 5, 2015
FindRefs.YAML-tmLanguage Parse longer expressions first, to help ligatures in Editors Apr 18, 2016
LICENSE.txt Remove non-standard text at beginning of license Jul 23, 2017
README.md Update README.md Jan 25, 2018
ThirdPartyNotices.txt Adding third party notices Sep 23, 2016
TypeScript Indent.YAML-tmPreferences Initial commit. Nov 5, 2015
TypeScript Indent.tmPreferences Initial commit. Nov 5, 2015
TypeScript.YAML-tmLanguage Handle inline comment in object literal Sep 19, 2018
TypeScript.YAML-tmTheme Fix issue with JSX attributes not being colorized Feb 21, 2018
TypeScript.tmLanguage Handle inline comment in object literal Sep 19, 2018
TypeScript.tmTheme Fix issue with JSX attributes not being colorized Feb 21, 2018
TypeScriptReact.YAML-tmLanguage Allow _ in jsx attribute names Aug 23, 2018
TypeScriptReact.YAML-tmTheme Generate new UUIDs Feb 22, 2017
TypeScriptReact.tmLanguage Handle inline comment in object literal Sep 19, 2018
TypeScriptReact.tmTheme Fix issue with JSX attributes not being colorized Feb 21, 2018
appveyor.yml Combine builds and tests generation, add travis ci Jan 25, 2018
issue_template.md Update issue_template.md Sep 13, 2018
package-lock.json Use --build to build tests and tmlanguage files Sep 18, 2018
package.json Use --build to build tests and tmlanguage files Sep 18, 2018

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