TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
Перейти к файлу
Sheetal Nandi fcbd5708d9 Fix the variable initializer such that new lines are handled better.
If the expression starts on same line use end of line to end the scope
Otherwise do not use end of line as end of scope unless its complete blank line
2016-12-12 15:23:57 -08:00
.vscode Remove typings folder, replace with tsd.json 2015-11-20 12:32:23 -08:00
build Update the build and test to use latest packages 2016-09-26 17:02:13 -07:00
tests Fix the variable initializer such that new lines are handled better. 2016-12-12 15:23:57 -08: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 Fix the variable initializer such that new lines are handled better. 2016-12-12 15:23:57 -08:00
TypeScript.YAML-tmTheme Fix the theme files for attribute value colorization 2016-11-07 17:13:54 -08:00
TypeScript.tmLanguage Fix the variable initializer such that new lines are handled better. 2016-12-12 15:23:57 -08:00
TypeScript.tmTheme Fix the theme files for attribute value colorization 2016-11-07 17:13:54 -08:00
TypeScriptReact.YAML-tmLanguage Fixes the yaml to fix #363 2016-11-18 15:29:38 -08:00
TypeScriptReact.YAML-tmTheme Fix the theme files for attribute value colorization 2016-11-07 17:13:54 -08:00
TypeScriptReact.tmLanguage Fix the variable initializer such that new lines are handled better. 2016-12-12 15:23:57 -08:00
TypeScriptReact.tmTheme Fix the theme files for attribute value colorization 2016-11-07 17:13:54 -08:00
appveyor.yml Update approveryor.yml 2016-09-20 15:05:14 -07:00
issue_template.md Fix typos 2016-10-24 07:03:46 -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