Skip to content

Feature: Preserve file extension when duplicating files #45

@Epigene

Description

@Epigene

VSCode Version: 1.20.1
OS Version: macOS High Sierra 10.13.2
Settings: https://gist.github.com/Epigene/a65bbf5e88d847b5e0622d42019fb678
Wrongly opened issue in VSC repo: microsoft/vscode#44254

Needed behavior:
When duplicating a file it would be nice to have it append the "-copy" just before the file extension.

Current behavior:
Duplication overrides file extension with "-copy".

Discussion:
As can be seen in the example image below, I choose to duplicate a file named "calendar.apib" and the default duplicate file-name is "calendar-copy" where "calendar-copy.apib" would be much more useful.
bad_dup

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions