{"id":33899517,"url":"https://github.com/kartiklabhshetwar/quotick","last_synced_at":"2026-04-04T13:01:36.052Z","repository":{"id":319780912,"uuid":"1079564085","full_name":"KartikLabhshetwar/quotick","owner":"KartikLabhshetwar","description":"Automatically convert quotes to backticks when typing template literals","archived":false,"fork":false,"pushed_at":"2025-12-07T09:21:41.000Z","size":13402,"stargazers_count":42,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-15T07:19:27.145Z","etag":null,"topics":["auto","autocorrect","javascript","string","template","typescript"],"latest_commit_sha":null,"homepage":"https://quotick.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KartikLabhshetwar.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":"2025-10-20T03:03:00.000Z","updated_at":"2026-02-04T09:39:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"3641e996-0dd6-4eed-8b31-a2d1edab0271","html_url":"https://github.com/KartikLabhshetwar/quotick","commit_stats":null,"previous_names":["kartiklabhshetwar/quicktick"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KartikLabhshetwar/quotick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KartikLabhshetwar%2Fquotick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KartikLabhshetwar%2Fquotick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KartikLabhshetwar%2Fquotick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KartikLabhshetwar%2Fquotick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KartikLabhshetwar","download_url":"https://codeload.github.com/KartikLabhshetwar/quotick/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KartikLabhshetwar%2Fquotick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31400460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["auto","autocorrect","javascript","string","template","typescript"],"created_at":"2025-12-11T22:02:06.871Z","updated_at":"2026-04-04T13:01:36.046Z","avatar_url":"https://github.com/KartikLabhshetwar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eQuotick\u003c/h1\u003e\n  \u003cimg src=\"https://img.shields.io/badge/VS%20Code-Extension-blue?style=for-the-badge\u0026logo=visual-studio-code\" alt=\"VS Code Extension\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/TypeScript-Ready-blue?style=for-the-badge\u0026logo=typescript\" alt=\"TypeScript Ready\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/JavaScript-Supported-yellow?style=for-the-badge\u0026logo=javascript\" alt=\"JavaScript Supported\" /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003eA VS Code extension that automatically converts quotes to backticks when typing template literals and reverts back when template syntax is removed\u003c/h3\u003e\n\u003c/div\u003e\n\n## What it does\n\n![clideo_editor_fa6cd16f8063436e9e4bbd8f40e9eb97](https://github.com/user-attachments/assets/d1ef48b9-1b6a-408c-9093-1a83fabedeaf)\n\n\nType this:\n```javascript\nconst message = \"Hello ${name}\";\nconst greeting = 'Welcome ${user}!';\n```\n\nQuotick automatically converts it to:\n```javascript\nconst message = `Hello ${name}`;\nconst greeting = `Welcome ${user}!`;\n```\n\n**Smart Revert Feature** - When you remove `$` or `{` from template literals, Quotick automatically reverts back to quotes:\n\n```javascript\n// Start with: `Hello ${name}`\n// Delete $: `Hello {name}` → automatically becomes \"Hello {name}\"\n// Delete {: `Hello $name}` → automatically becomes \"Hello $name}\"\n```\n\n**Svelte Support** - Works seamlessly with Svelte components, only triggering within `\u003cscript\u003e` tags:\n\n```svelte\n\u003cscript lang=\"ts\"\u003e\n  let name: string = \"world\";\n  const message = \"Hello ${name}!\"; // ← Converts to backticks\n\u003c/script\u003e\n\n\u003cdiv\u003e\n  \u003ch1\u003eHello {name}!\u003c/h1\u003e \u003c!-- ← Won't trigger here --\u003e\n\u003c/div\u003e\n```\n\n**JSX/TSX Attribute Support** - Automatically converts backtick-wrapped JSX attributes with interpolation to proper JSX format:\n\n```tsx\n// Before\n\u003cdiv className=`flex ${value}`\u003e\u003c/div\u003e\n\n// After (automatic conversion)\n\u003cdiv className={`flex ${value}`}\u003e\u003c/div\u003e\n```\n\n**Real-time JSX conversion:**\n- Type `${` inside backticks → automatically converts to `{`backticks`}`\n- Type `}` to complete interpolation → triggers conversion\n- Works for any JSX attribute: `className`, `id`, `src`, etc.\n\n## Features\n\n| Feature | Description |\n|---------|-------------|\n| **Auto-conversion** | Converts quotes to backticks when typing `${}` |\n| **Smart Revert** | Automatically reverts backticks to quotes when `$` or `{` is removed |\n| **JSX Attribute Support** | Converts backtick-wrapped JSX attributes to `{`backticks`}` format |\n| **Smart detection** | Only converts strings with template literal syntax |\n| **Context aware** | Skips comments, imports, and invalid contexts |\n| **Multi-language** | Works with JS, TS, JSX, TSX, and Svelte files |\n| **Real-time** | Converts as you type |\n| **Bidirectional** | Works both ways - quotes ↔ backticks |\n| **Configurable** | Enable/disable and customize behavior |\n\n## Installation\n\n1. Open VS Code\n2. Go to Extensions (`Ctrl+Shift+X` / `Cmd+Shift+X`)\n3. Search for \"Quotick\"\n4. Click Install\n\n## Supported Languages\n\n- JavaScript (`.js`)\n- TypeScript (`.ts`)\n- JavaScript React (`.jsx`)\n- TypeScript React (`.tsx`)\n- **Svelte (`.svelte`)** - Only triggers within `\u003cscript\u003e` tags, not in HTML template parts\n\n## Commands\n\n- `Quotick: Toggle Auto-Convert` - Enable/disable automatic conversion\n- `Quotick: Test Conversion` - Manually test conversion on current document\n- `Quotick: Toggle Revert Feature` - Enable/disable smart revert functionality\n- `Quotick: Wrap JSX Attributes` - Manually wrap JSX attributes with braces when interpolation is detected\n- `Quotick: Debug JSX Detection` - Debug JSX attribute detection at current cursor position\n- `Quotick: Test JSX Backtick Conversion` - Test JSX backtick-to-brace conversion at current position\n\n## Configuration\n\n```json\n{\n  \"quotick.enableAutoConvert\": true,\n  \"quotick.showNotifications\": true,\n  \"quotick.autoRemoveTemplateString\": true,\n  \"quotick.supportedLanguages\": [\n    \"javascript\",\n    \"typescript\",\n    \"javascriptreact\",\n    \"typescriptreact\",\n    \"svelte\"\n  ]\n}\n```\n\n## Development\n\n### Prerequisites\n- Node.js (v16 or higher)\n- npm (v8 or higher)\n- VS Code (v1.74 or higher)\n\n### Setup\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/KartikLabhshetwar/quotick.git\n   cd quotick\n   ```\n\n2. **Install dependencies:**\n   ```bash\n   npm install\n   ```\n\n3. **Compile TypeScript:**\n   ```bash\n   npm run compile\n   ```\n\n4. **Run in development mode:**\n   - Press `F5` in VS Code\n   - A new Extension Development Host window will open\n   - Test your changes in this window\n\n### Testing\n```bash\nnpm test          # Run all tests\nnpm run lint      # Run linting\n```\n\n## License\n\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkartiklabhshetwar%2Fquotick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkartiklabhshetwar%2Fquotick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkartiklabhshetwar%2Fquotick/lists"}