TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
Перейти к файлу
Sheetal Nandi 53d555baa1 Fix the incorrect look behinds of cast expression when property name is yield
Fixes #562
2018-01-25 12:55:16 -08:00
.vscode Add .YAML-tmTheme as well 2017-09-13 11:22:31 -07:00
build Fix the incorrect look behinds of cast expression when property name is yield 2018-01-25 12:55:16 -08:00
tests Fix the incorrect look behinds of cast expression when property name is yield 2018-01-25 12:55:16 -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 Generate new UUIDs 2017-02-22 01:50:03 -06: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 Remove non-standard text at beginning of license 2017-07-23 12:31:09 +02:00
README.md When running tests make sure to build the grammar builder 2017-11-03 13:44:03 -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 incorrect look behinds of cast expression when property name is yield 2018-01-25 12:55:16 -08:00
TypeScript.YAML-tmTheme Merge pull request #419 from infininight/fixUUIDs 2017-09-13 11:27:32 -07:00
TypeScript.tmLanguage Fix the incorrect look behinds of cast expression when property name is yield 2018-01-25 12:55:16 -08:00
TypeScript.tmTheme Merge pull request #419 from infininight/fixUUIDs 2017-09-13 11:27:32 -07:00
TypeScriptReact.YAML-tmLanguage Fix the incorrect look behinds of cast expression when property name is yield 2018-01-25 12:55:16 -08:00
TypeScriptReact.YAML-tmTheme Generate new UUIDs 2017-02-22 01:50:03 -06:00
TypeScriptReact.tmLanguage Fix the incorrect look behinds of cast expression when property name is yield 2018-01-25 12:55:16 -08:00
TypeScriptReact.tmTheme Merge pull request #419 from infininight/fixUUIDs 2017-09-13 11:27:32 -07:00
appveyor.yml Switch to node version "8" and dont use npm@next to fix the build 2017-12-28 10:27:55 -08: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 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.

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

npm run diff        # Diffs the test baselines with generated one using tool set in environment variable DIFF
npm run accept      # Accepts the test baselines