TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
Перейти к файлу
Sheetal Nandi e0fb5e0ccc Handle '|' and '&' type operators such that they can handle new lines better
With this change spaces followed by this operator will be consumed and that will help not tripping end of type regex in many scenarios
We also handle { followed by these operators to handle constituent object type
Fixes #421
2017-04-21 14:48:39 -07: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 Handle '|' and '&' type operators such that they can handle new lines better 2017-04-21 14:48:39 -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 Handle '|' and '&' type operators such that they can handle new lines better 2017-04-21 14:48:39 -07:00
TypeScript.YAML-tmTheme debugger needs to be highlighted as keyword 2016-12-15 10:47:56 -08:00
TypeScript.tmLanguage Handle '|' and '&' type operators such that they can handle new lines better 2017-04-21 14:48:39 -07:00
TypeScript.tmTheme debugger needs to be highlighted as keyword 2016-12-15 10:47:56 -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 Handle '|' and '&' type operators such that they can handle new lines better 2017-04-21 14:48:39 -07:00
TypeScriptReact.tmTheme debugger needs to be highlighted as keyword 2016-12-15 10:47:56 -08:00
appveyor.yml Update the node version 2017-04-20 14:04:12 -07:00
issue_template.md Update issue_template.md 2017-01-24 15:27:37 -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 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