{"id":26645926,"url":"https://github.com/ziishaned/auto-self-close-tag","last_synced_at":"2026-04-29T23:02:41.839Z","repository":{"id":283884157,"uuid":"953168479","full_name":"ziishaned/auto-self-close-tag","owner":"ziishaned","description":"Automatically adds closing tags for HTML elements and removes closing tags when converting to self-closing","archived":false,"fork":false,"pushed_at":"2025-03-22T22:50:40.000Z","size":8530,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T23:26:39.658Z","etag":null,"topics":["html","jsx","php","tsx","vscode","vscode-extension","xml"],"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/ziishaned.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2025-03-22T18:14:54.000Z","updated_at":"2025-03-22T22:50:43.000Z","dependencies_parsed_at":"2025-03-22T23:36:44.398Z","dependency_job_id":null,"html_url":"https://github.com/ziishaned/auto-self-close-tag","commit_stats":null,"previous_names":["ziishaned/html-self-closing-tag-helper","ziishaned/auto-self-close-tag"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziishaned%2Fauto-self-close-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziishaned%2Fauto-self-close-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziishaned%2Fauto-self-close-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziishaned%2Fauto-self-close-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziishaned","download_url":"https://codeload.github.com/ziishaned/auto-self-close-tag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245366201,"owners_count":20603439,"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":["html","jsx","php","tsx","vscode","vscode-extension","xml"],"created_at":"2025-03-24T22:46:45.015Z","updated_at":"2025-10-13T04:32:30.796Z","avatar_url":"https://github.com/ziishaned.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Auto Self Close Tag\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/logo.png\" alt=\"Logo\" width=\"227px\" height=\"178px\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\nA VSCode extension that simplifies working with HTML self-closing tags and removes closing tags when converting to self-closing.\n\u003c/p\u003e\n\n### Demo\n\n| Before                       | After                        |\n| ---------------------------- | ---------------------------- |\n| \u003cimg src=\"assets/1_1.gif\" /\u003e | \u003cimg src=\"assets/1_2.gif\" /\u003e |\n| \u003cimg src=\"assets/2_1.gif\" /\u003e | \u003cimg src=\"assets/2_2.gif\" /\u003e |\n\n### Features\n\nThis extension provides two key features to make working with self-closing HTML tags smoother:\n\n1. Auto-Convert Regular Tags to Self-Closing Tags\n\n   When you add a slash to convert a regular HTML tag to a self-closing tag, the extension automatically removes the corresponding closing tag.\n\n   ### Example:\n\n   ```html\n   \u003cp\u003e\u003c/p\u003e\n   ```\n\n   When you add a slash after the \"p\" to make it \u003cp/, the extension automatically detects and removes the \u003c/p\u003e closing tag:\n\n   ```html\n   \u003cp/\u003e\n   ```\n\n2. Auto-Complete Self-Closing Tag Syntax\n\n   When typing a self-closing tag, the extension automatically adds the closing angle bracket.\n\n   ### Example:\n\n   ```html\n   \u003cimg\n   ```\n\n   When you type a slash to make it \u003cimg /, the extension automatically adds the closing angle bracket:\n\n   ```html\n   \u003cimg/\u003e\n   ```\n\n### Supported Languages\n\n- HTML\n- XML\n- PHP\n- JavaScript (JSX)\n- TypeScript (TSX)\n\n### Installation\n\n1. Open VSCode\n2. Go to Extensions (Ctrl+Shift+X)\n3. Search for \"Auto Self Close Tag\"\n4. Click Install\n\n### Usage\n\nThe extension works automatically when editing supported file types. No configuration needed!\n\n### Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n### License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziishaned%2Fauto-self-close-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziishaned%2Fauto-self-close-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziishaned%2Fauto-self-close-tag/lists"}