{"id":16949714,"url":"https://github.com/kermanx/tmlanguage-previewer","last_synced_at":"2025-03-22T13:31:18.771Z","repository":{"id":245543474,"uuid":"818571525","full_name":"kermanx/tmLanguage-Previewer","owner":"kermanx","description":"Preview tmLanguage grammar files in VSCode.","archived":false,"fork":false,"pushed_at":"2025-02-11T07:30:31.000Z","size":374,"stargazers_count":18,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-18T11:39:17.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kermanx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-22T07:55:04.000Z","updated_at":"2025-03-13T02:37:00.000Z","dependencies_parsed_at":"2024-07-10T14:06:22.546Z","dependency_job_id":null,"html_url":"https://github.com/kermanx/tmLanguage-Previewer","commit_stats":null,"previous_names":["kermanx/tmlanguage-previewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2FtmLanguage-Previewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2FtmLanguage-Previewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2FtmLanguage-Previewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kermanx%2FtmLanguage-Previewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kermanx","download_url":"https://codeload.github.com/kermanx/tmLanguage-Previewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244962805,"owners_count":20539226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T21:55:52.961Z","updated_at":"2025-03-22T13:31:18.436Z","avatar_url":"https://github.com/kermanx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tmLanguage Previewer\n\n[![Reactive VSCode](https://img.shields.io/badge/Reactive-VSCode-%23007ACC?style=flat\u0026labelColor=%23229863)](https://kermanx.github.io/reactive-vscode/)\n\nA VS Code extension for previewing tmLanguage grammar files. Created with [Reactive VS Code](https://kermanx.github.io/reactive-vscode).\n\nThere is also a online version: [tmLanguage Playground](https://kermanx.github.io/tmLanguage-Playground/).\n\n## Usage\n\n1. Open a `.tmLanguage.json` file in VSCode. For example, `xyz.tmLanguage.json`.\n2. Create a new file with the same name but with a `.example` infix. For example, `xyz.example.any`.\n2. Click the icon on the top right of the editor to open the previewer.\n\n## Development\n\n### What's in the folder\n\n- `package.json` - this is the manifest file in which you declare your extension and command.\n- `src/*` - this is the folder containing the webview code. (DOM environment)\n- `extension/*` - this is the folder containing the extension code. (Node.js environment)\n\n### Get up and running straight away\n\n- Run `pnpm install` to install all necessary dependencies.\n- Run `pnpm dev` in a terminal to compile the extension.\n- Press `F5` to open a new window with your extension loaded.\n\n### Make changes\n\n- You can relaunch the extension from the debug toolbar after changing code in `src/extension.ts`.\n- You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkermanx%2Ftmlanguage-previewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkermanx%2Ftmlanguage-previewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkermanx%2Ftmlanguage-previewer/lists"}