Skip to content

feat(rename): rename sibling files sharing the project file name#73

Merged
CalvinAllen merged 1 commit intomainfrom
feat/rename/sibling-files
Feb 13, 2026
Merged

feat(rename): rename sibling files sharing the project file name#73
CalvinAllen merged 1 commit intomainfrom
feat/rename/sibling-files

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Adds a new rename step that finds and renames sibling files sharing the project file name as a prefix (e.g., .csproj.user, .vcxproj.filters)
  • Adds RenameSiblingFiles() method to ProjectFileService that scans the project directory and renames matching files
  • Inserts the new step between the project file rename and directory rename steps (now 12 steps total)

Closes #72

Test plan

  • Rename a .csproj project that has a .csproj.user file and verify it gets renamed
  • Rename a .vcxproj project that has a .vcxproj.filters file and verify it gets renamed
  • Rename a project with no sibling files and verify no errors occur
  • Verify the progress dialog displays the new "Renaming sibling files" step correctly

When renaming a project, also rename any sibling files that share the
project file name as a prefix (e.g., .csproj.user, .vcxproj.filters).
This adds a new step to the rename workflow between the project file
rename and directory rename steps.
@CalvinAllen CalvinAllen merged commit b1079ee into main Feb 13, 2026
2 checks passed
@CalvinAllen CalvinAllen deleted the feat/rename/sibling-files branch February 13, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

When renmaing a foo.vcxproj project, we also need to rename the associated foo.vcxproj.filters file

1 participant