Why doesn't Find Usage on methods work as well anymore.

Basically, I find that it returns too many places, places where that method isn't even being called. Places in text that are obviously not calling a method.

Here is a screen shot of what I mean. Notice the dynamic finds. Those are using dot notation to get a value from a field of a domain object, not even remotely related to the interface.

We have seen this a lot in the past few months. Where it causes days and hours of extra work because it happens when you do a refactor-rename. You rename a method and anywhere that word in the method exists gets changed and breaks other code that wasn't calling that method, but had something with the same name. This had never happened before in the about 10 years of using IntelliJ. IntelliJ used to be the best IDE, especially for refactors and now I can't trust it anymore.

I also get 2-3 crashes a day which ends up losing anywhere from 15 minutes to an hour of work that it didn't save. Now I have to go back to the MS Word days of remembering to save every 5-10 minutes. Actually now git commit is the save of yore. Every 5 minutes make sure you do a git commit. (However, this thread isn't about the crash issue, it is about finding usages in finds and refactors)

Screen Shot 2013-10-15 at 8.34.16 AM.png


Thanks

Mark

0

请先登录再写评论。