You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a module based app and then added a standalone component as you describe, and then used the extension to rename it. All was successful, as I was confident it would be.
This extension is very mature, and would be unlikely to fail in the scenario you describe. However, if there is something unusual about your project, app-module or standalone component - i.e. you have altered the class / filename so that they don't match the pattern generated by the Angular CLI, you could run into difficulties.
Are you prepared to share access to your repo? Or could you create a cut-down copy that still fails so I can look at it? The other thing you could do, is enable debug log to file: renameAngularComponent.debugLog, and then attach the output to this thread.
If your files are created by the Angular CLI and you don't alter their names manually, the extension will reliably find all imports and references to your components, directives, services, and modules.
Describe the bug
I rename a
standalone
component which is enlisted in theapp.module
in theimports: [
.Expected behavior
Rename of the enlisted component in the
imports: [
list. Currently the name remains the same.The text was updated successfully, but these errors were encountered: