Open codecoster opened 8 years ago
If you have a class member that overrides a base class member of the same name defined outside your program, there's no sensible way to rename it. If you rename only the references in your program, it'll break the override.
I've reported the template strings issue upstream: https://github.com/Microsoft/TypeScript/issues/10081
When renaming a member variable inside a class (For example in an Angular 2 Component), the rename-refactoring seems to behave very erratic. For example, it tries to rename fields inside the
~/.nebeans/
directory or inside the netbeanstypscript folder (and obviously fails due to missing write permission). When the "Rename in strings" option is turned on, occurrences of the expression in various files is performed. However, occurrences inside the same file, within thetemplate
-string, are undetected.