Skip to content

Feature Request: Enable File and Folder Duplication in Explorer #251988

Closed
@iwangbowen

Description

@iwangbowen

Type: Feature Request

Feature Request: Enable File and Folder Duplication in Explorer

I propose adding the ability to duplicate files and folders directly within the VS Code Explorer, similar to how users can currently rename files. This feature should allow users to create a copy of a file or folder within the same directory, maintaining the original structure and content.

Key details:

  • Users should be able to right-click on a file or folder and select a "Duplicate" option.
  • The duplicated file or folder should automatically be renamed to avoid conflicts (e.g., "file_copy.txt" or "folder_copy").
  • Users should also have the option to rename the duplicated file or folder immediately after creation.
  • This functionality should support multi-selection, allowing users to duplicate multiple files or folders at once.

This enhancement would improve productivity by streamlining the process of creating backups or variations of files and folders without leaving the editor.

VS Code version: Code - Insiders 1.102.0-insider (bdc1dd9, 2025-06-20T09:31:30.580Z)
OS version: Windows_NT x64 10.0.26100
Modes:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions