Is it possible to disable duplicate code detection in IntelliJ IDEA?

Only available in IntelliJ Ultimate:

To disable duplicate code detection, go to

File → Settings → Editor → Inspections → General → Duplicated code fragment

and uncheck box “Duplicate code fragment”.
intellij code duplication

Leave a Comment