For more information see the Code of Conduct FAQ or contact with any additional questions or comments. GitHub - microsoft/vscode-textmate: A library that helps tokenize text using Text Mate. This project has adopted the Microsoft Open Source Code of Conduct. A library that helps tokenize text using Text Mate grammars. Troubleshoot a grammar with npm run inspect - PATH_TO_GRAMMAR PATH_TO_FILE.Compile in the background with npm run watch.See vscode-tmgrammar-test that can help you write unit tests against your grammar. Const fs = require ( 'fs' ) const path = require ( 'path' ) const vsctm = require ( 'vscode-textmate' ) const oniguruma = require ( 'vscode-oniguruma' ) /** * Utility to read a file as a promise */ function readFile ( path ) ) with scopes source.js, .js */ For grammar authors