rename-angular-component icon indicating copy to clipboard operation
rename-angular-component copied to clipboard

Modules and pipes should remove -module or -pipe postfix from folder if entered by user

Open tomwhite007 opened this issue 3 months ago • 1 comments

Angular 20 Modules and Pipes are now suffixed by -module and -pipe, respectively.

When a user renames one of these two file types, the Renamer should treat these dash suffixes the way it does with dot-suffixes, i.e. remove the dash suffix from any renamed folder. Currently, this is included in the new folder name.

tomwhite007 avatar Sep 09 '25 10:09 tomwhite007

I'm not going to withhold the release of version 4.0.0 for this, but I am going to treat this as a version 4.0.1 priority.

Current workarounds are:

  1. Rename the folder manually after
  2. Rename any same-named Component or Service in the same folder first. This will change the folder to the correct new name with no suffix.

tomwhite007 avatar Sep 09 '25 10:09 tomwhite007