{"id":16327089,"url":"https://github.com/mrmlnc/vscode-duplicate","last_synced_at":"2025-03-16T14:31:06.113Z","repository":{"id":43134168,"uuid":"63898777","full_name":"mrmlnc/vscode-duplicate","owner":"mrmlnc","description":":electric_plug: Ability to duplicate files in VS Code.","archived":false,"fork":false,"pushed_at":"2023-10-22T03:27:19.000Z","size":33,"stargazers_count":53,"open_issues_count":16,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T10:38:58.352Z","etag":null,"topics":["duplication","visual-studio-code","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://goo.gl/LSnrBW","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/mrmlnc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","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":"2016-07-21T20:02:13.000Z","updated_at":"2024-11-04T11:12:45.000Z","dependencies_parsed_at":"2024-10-10T23:10:26.979Z","dependency_job_id":"c56c27db-1af0-45a3-9c5b-f1b1554c4c50","html_url":"https://github.com/mrmlnc/vscode-duplicate","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-duplicate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-duplicate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-duplicate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-duplicate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmlnc","download_url":"https://codeload.github.com/mrmlnc/vscode-duplicate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243818194,"owners_count":20352629,"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":["duplication","visual-studio-code","vscode","vscode-extension"],"created_at":"2024-10-10T23:10:21.796Z","updated_at":"2025-03-16T14:31:05.633Z","avatar_url":"https://github.com/mrmlnc.png","language":"TypeScript","funding_links":["https://paypal.me/mrmlnc"],"categories":[],"sub_categories":[],"readme":"# vscode-duplicate\n\n\u003e Ability to duplicate files and directories in VS Code.\n\n## Donate\n\nIf you want to thank me, or promote your Issue.\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/mrmlnc)\n\n\u003e Sorry, but I have work and support for plugins and modules requires some time after work. I will be glad of your support or PR's.\n\n## Install\n\n  * Press \u003ckbd\u003eF1\u003c/kbd\u003e and `select Extensions: Install Extensions`.\n  * Search for and select `duplicate`.\n\nSee the [extension installation guide](https://code.visualstudio.com/docs/editor/extension-gallery) for details.\n\n## Usage\n\nThe first option:\n\n  1. Hover on a file or directory name in explorer.\n  2. Right-click and select `Duplicate file`.\n  3. Enter the new path for the duplicate.\n\nThe second option:\n\n  1. Open the file.\n  2. Press `F1` and select `Duplicate file`.\n  3. Enter the new path for the duplicate.\n\n## About file extension\n\n\u003e :warning: If you do not specify a new extension, the previous **will be saved**.\n\nBut you can use two special characters:\n\n  * `!!ext` – don't preserve original extension.\n  * `\u0026\u0026ext` – preserve original extension (available with `duplicate.keepOriginalExtension` option).\n\nFor example:\n\n  * `nameOfFile!!ext` – create filepath without original extension\n  * `nameOfFile\u0026\u0026ext` – create filepath with original extension\n\n## Supported settings\n\n#### duplicate.openFileAfterCopy\n\n  * Type: `Boolean`\n  * Default: `true`\n\nAutomatically open newly copied files.\n\n#### duplicate.keepOriginalExtension\n\n  * Type: `Boolean`\n  * Default: `true`\n\nKeep original extension if it not specified.\n\n## Keyboard shortcuts\n\nTo change keyboard shortcuts, create a new rule in `File -\u003e Preferences -\u003e Keyboard Shortcuts`:\n\n```json\n{\n  \"key\": \"ctrl+shift+d\",\n  \"command\": \"duplicate.execute\"\n}\n```\n\n## Changelog\n\nSee the [Releases section of our GitHub project](https://github.com/mrmlnc/vscode-duplicate/releases) for changelogs for each release version.\n\n## License\n\nThis software is released under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fvscode-duplicate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmlnc%2Fvscode-duplicate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fvscode-duplicate/lists"}