fcbd5708d9
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 |
||
---|---|---|
.vscode | ||
build | ||
tests | ||
.gitignore | ||
Comments.tmPreferences | ||
ErrorList.YAML-tmLanguage | ||
FindRefs.YAML-tmLanguage | ||
LICENSE.txt | ||
README.md | ||
ThirdPartyNotices.txt | ||
TypeScript Indent.YAML-tmPreferences | ||
TypeScript Indent.tmPreferences | ||
TypeScript.YAML-tmLanguage | ||
TypeScript.YAML-tmTheme | ||
TypeScript.tmLanguage | ||
TypeScript.tmTheme | ||
TypeScriptReact.YAML-tmLanguage | ||
TypeScriptReact.YAML-tmTheme | ||
TypeScriptReact.tmLanguage | ||
TypeScriptReact.tmTheme | ||
appveyor.yml | ||
issue_template.md |
README.md
TypeScript-TmLanguage
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