refactor rename function (SHIFT F6): odd behaviour in angular typescript class

When I was working on a typescript (component) class in an Angular project, the following happened:

Three methods of the same class. SHIFT F6 on first two methods works as expected. But SHIFT F6 on third method suggests a global replace on the method name, which is absolutely not what you want to happen!

see screen recording: https://youtu.be/LPsVPdv-fk4

1 comment
Comment actions Permalink

the logic used to show a dialog is rather complex and depends on found usages - if they don't look unambiguous, the dialog is shown to allow previewing the results

Unfortunately I can hardly tell what is the difference between the first 2 methods and the third one

0

Please sign in to leave a comment.