Code Inspection: Suspicious names combination
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports the assignments and function calls where the name of the variable or parameter probably doesn't match the name of the assigned or passed value.
The following sets of names are supported:
needle
,haystack
x
,y
top
,bottom
,left
,right
year
,month
,week
,day
,hour
,minute
,second
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.