Solution IDEA remove the wavy line

After the initial installation IDEA, always able to see the import code, a lot of wavy line, which is IDEA gives us some tips and warnings, but sometimes we do not need, but will make people look very unhappy, where small ed simply record your own method of adjusting for other small partners in the use of reference. If modified in accordance with the corresponding method, IDEA did not immediately recovered, the proposed small partners to be patient, I can not stand it, you can restart IDEA directly, that is ok:

Solution:

1, File-Settings: enter the set state

2, Editor-Code Style-Inspections, the input in the search bar General, Duplicated code fragment √ are generally on the default, this can be canceled, as shown:


Method two: removing the yellow warning line:

1、File-Settings:

Finally, click Apply to!

Published 153 original articles · won praise 215 · views 180 000 +

Guess you like

Origin blog.csdn.net/qq_42680327/article/details/104495519