25 ms·
Sometimes Idea finds duplicated code without your interaction and suggests to extract it into method. I don't always like it, but it's an interesting feature.
by vbezhenar 6y ago
Sometimes Idea finds duplicated code without your interaction and suggests to extract it into method. I don't always like it, but it's an interesting feature.
- phist_mcgee 6y agoI find sometimes duplicated code is from a business domain quite separate from another, yet intellij wants to bring them together. Sure, one day I will get my shit together on that duplicated code and fix the issue, but sometimes the hassle is not worth the hours put in to refactor. Nice that intellij lets you know though.