TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
Перейти к файлу
Sheetal Nandi b6e350046e When running tests make sure to build the grammar builder
Also add task to accept baselines
2017-11-03 13:44:03 -07:00
.vscode Add .YAML-tmTheme as well 2017-09-13 11:22:31 -07:00
build Support usage of earlier defined variable patterns in next definitions 2017-09-28 15:23:21 -07:00
tests When running tests make sure to build the grammar builder 2017-11-03 13:44:03 -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 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 arrow parameter detection 2017-11-03 12:35:08 -07:00
TypeScript.YAML-tmTheme Merge pull request #419 from infininight/fixUUIDs 2017-09-13 11:27:32 -07:00
TypeScript.tmLanguage Fix the arrow parameter detection 2017-11-03 12:35:08 -07:00
TypeScript.tmTheme Merge pull request #419 from infininight/fixUUIDs 2017-09-13 11:27:32 -07:00
TypeScriptReact.YAML-tmLanguage Refactor JSX fragment 2017-10-18 16:39:27 -07:00
TypeScriptReact.YAML-tmTheme Generate new UUIDs 2017-02-22 01:50:03 -06:00
TypeScriptReact.tmLanguage Fix the arrow parameter detection 2017-11-03 12:35:08 -07:00
TypeScriptReact.tmTheme Merge pull request #419 from infininight/fixUUIDs 2017-09-13 11:27:32 -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 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