Skip to content

Remove -copy suffix #46

@pedzed

Description

@pedzed

Related to:

value: filename.split('.').map((el, i) => i === 0 ? `${el}-copy` : el).join('.')

Often times it happens that you forget to remove the added -copy suffix. For example, your file is called my_slightly_long_file_name.php. When you want to duplicate it to your_slightly_long_file_name.php, you change my to your, but forget that there is that annoying suffix and which makes it result in your_slightly_long_file_name-copy.php,

My request is to remove this useless suffix, as there is no good use case (I can think of) for it.

If it is a feature that must be in there, at the very least there should be a config option for it to change it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions