Code Inspection: Nested assignment
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports an assignment expression nested inside another expression, for example, a = b = 1
. Such expressions may be confusing and violate the general design principle that a given construct should do precisely one thing.
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.