Hacker News new | ask | show | jobs
by brabel 17 days ago
No! Rename in JSP is not intelligent enough to match an interface name with its implementation names and decide whether to also rename those!
1 comments

What do you mean by "implementation names"? I assumed you meant changing the "implements X", which should be easy for an LSP.
Java implementations sometimes take part of the name from the interface they implement, for example, `FooRunner` probably implements `Runner`. My example was that I renamed `Runner` to whatever, `Executor`, and IntelliJ will ask me if I want to rename also implementations (in this case, it would show `FooRunner` -> `FooExecutor`).