{"id":52117975,"url":"https://github.com/devgauravjatt/turbo-log-snippets","last_synced_at":"2026-08-05T04:03:30.031Z","repository":{"id":372580045,"uuid":"1306619188","full_name":"devgauravjatt/turbo-log-snippets","owner":"devgauravjatt","description":null,"archived":false,"fork":false,"pushed_at":"2026-07-22T04:19:40.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-22T06:11:06.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/devgauravjatt.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-20T13:08:59.000Z","updated_at":"2026-07-22T04:20:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/devgauravjatt/turbo-log-snippets","commit_stats":null,"previous_names":["devgauravjatt/turbo-log-snippets"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/devgauravjatt/turbo-log-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgauravjatt%2Fturbo-log-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgauravjatt%2Fturbo-log-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgauravjatt%2Fturbo-log-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgauravjatt%2Fturbo-log-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devgauravjatt","download_url":"https://codeload.github.com/devgauravjatt/turbo-log-snippets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgauravjatt%2Fturbo-log-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36296162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-05T02:00:06.619Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-08-05T04:03:29.478Z","updated_at":"2026-08-05T04:03:30.023Z","avatar_url":"https://github.com/devgauravjatt.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Turbo Log Snippets (Zed)\n\nA minimum, snippet-only take on [turbo-console-log](https://github.com/Chakroun-Anas/turbo-console-log) for the Zed editor.\n\n## Install (dev extension)\n\n1. Open Zed → Command Palette (`Cmd/Ctrl-Shift-P`) → `zed: extensions`.\n2. Click **Install Dev Extension** and select this `turbo-log-snippets` folder.\n3. Open any `.js`, `.ts`, `.tsx`, `.py`, or `.php` file and start typing a prefix from the table below, then hit `Tab`.\n\nNo build step, no Rust — this is a pure declarative snippets extension (`extension.toml` + JSON snippet files), so nothing needs to be compiled.\n\n## Usage\n\n| Language      | Prefix                          | Inserts                              |\n| ------------- | ------------------------------- | ------------------------------------ |\n| JS/TS/TSX/JSX | `tlog`                          | `console.log(\"🚀 ~ value:\", value);` |\n| JS/TS/TSX/JSX | `terr`                          | `console.error(...)`                 |\n| JS/TS/TSX/JSX | `twarn`                         | `console.warn(...)`                  |\n| JS/TS/TSX/JSX | `tinfo`                         | `console.info(...)`                  |\n| JS/TS/TSX/JSX | `tdebug`                        | `console.debug(...)`                 |\n| JS/TS/TSX/JSX | `ttable`                        | `console.table(value);`              |\n| Python        | `tprint`                        | `print(f\"🚀 ~ {value=}\")`            |\n| Python        | `tdebug`/`tinfo`/`twarn`/`terr` | matching `logging.*` call            |\n| PHP           | `tdump`                         | `var_dump(...)`                      |\n| PHP           | `tprint`                        | `print_r(...)`                       |\n| PHP           | `terrlog`                       | `error_log(...)`                     |\n\nType the variable name once at the tab stop — it's linked, so it fills both the label and the value in the same snippet expansion.\n\n## What this does NOT do (unlike the real VS Code extension)\n\nZed's extension API (as of mid-2026) has no buffer-editing/command API for extensions — only languages, themes, snippets, debuggers, and MCP/context servers. So this snippet-only version can't replicate:\n\n- **AST-aware insertion** — it can't detect the enclosing variable/function/line under your cursor; you type the name yourself at the tab stop.\n- **File name / line number context** — Turbo's `🚀 ~ file.ts:42 ~ value:` format needs dynamic buffer info that Zed snippets don't expose.\n- **Comment all / Uncomment all / Delete all logs** — these require scanning and rewriting the whole buffer, not just inserting text at the cursor.\n- **Dedicated keybindings per command** — snippets trigger by typing the prefix + Tab, not a bound shortcut like `⌘K ⌘L`. You can bind a key to Zed's generic `editor::ExpandSnippet` action if you want, but it's not per-prefix.\n\nThere's an open feature request for a real editor-aware extension API in Zed\n(`zed-industries/zed` discussions #46272 and #53131) — once/if that ships, a true AST-aware port becomes possible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevgauravjatt%2Fturbo-log-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevgauravjatt%2Fturbo-log-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevgauravjatt%2Fturbo-log-snippets/lists"}