TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
Перейти к файлу
Sheetal Nandi c74b48e28f Fix the build break because of incorrect usage of writeFileSync 2017-06-28 12:49:45 -07:00
.vscode Remove typings folder, replace with tsd.json 2015-11-20 12:32:23 -08:00
build Fix the build break because of incorrect usage of writeFileSync 2017-06-28 12:49:45 -07:00
tests Fix the build break because of incorrect usage of writeFileSync 2017-06-28 12:49:45 -07:00
.gitignore Initial script to generate tmLanguage file for TypeScript grammar from yaml file 2016-09-20 13:00:30 -07:00
Comments.tmPreferences Initial commit. 2015-11-05 13:14:57 -08: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 Updated the license to MIT 2016-10-17 12:32:50 -07:00
README.md Add Link to VSCode extension 2016-09-29 12:22:57 -07: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 Recognize @internal in the line and block comments 2017-06-28 12:02:31 -07:00
TypeScript.YAML-tmTheme Update the vsclassification for jsx attribute names to use XML Attribute since thats what jsx files used in VS 2015 2017-05-19 12:28:57 -07:00
TypeScript.tmLanguage Recognize @internal in the line and block comments 2017-06-28 12:02:31 -07:00
TypeScript.tmTheme Update the vsclassification for jsx attribute names to use XML Attribute since thats what jsx files used in VS 2015 2017-05-19 12:28:57 -07:00
TypeScriptReact.YAML-tmLanguage Add the context test for jsx tag without attributes when matching in expression 2017-06-26 16:36:21 -07:00
TypeScriptReact.YAML-tmTheme Fix the theme files for attribute value colorization 2016-11-07 17:13:54 -08:00
TypeScriptReact.tmLanguage Recognize @internal in the line and block comments 2017-06-28 12:02:31 -07:00
TypeScriptReact.tmTheme Update the vsclassification for jsx attribute names to use XML Attribute since thats what jsx files used in VS 2015 2017-05-19 12:28:57 -07:00
appveyor.yml Fix the build break because of incorrect usage of writeFileSync 2017-06-28 12:49:45 -07:00
issue_template.md Create issue_template.md 2017-06-14 16:18:29 -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 grammer 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.

Build

Update the XML files from within the build folder

cd build
npm install         # Installs dependencies required for building
npm start           # Compiles & builds the XML files

Tests

Test are run from within the tests folder and depend on build to make sure XML files are upto date

cd build
npm install         # Installs dependencies required for building

cd ../tests
npm install         # Installs dependencies required for testing
npm test            # Compiles & runs tests