Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file name incrementing for files without extensions #113842

Merged
merged 1 commit into from Jan 6, 2021
Merged

file name incrementing for files without extensions #113842

merged 1 commit into from Jan 6, 2021

Conversation

nrayburn-tech
Copy link
Contributor

When a file does not have an extension, it properly increments.
file => file1
file1 => file2
1 => 2

Can test by creating a file without an extension, then copying and pasting the file in the explorer. The version should be incremented. (Requires explorer.incrementalNaming to be set to smart.)

This PR fixes #113809

@isidorn
Copy link
Contributor

isidorn commented Jan 6, 2021

Looks good, thanks for adding tests! Merging it in ☀️

@isidorn isidorn merged commit 5ed76e3 into microsoft:master Jan 6, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

increment file name does not work with zero prefixed file name when using smart incremental naming
3 participants