i’m being a bit brain-foggy this morning, so maybe...
# intellij
p
i’m being a bit brain-foggy this morning, so maybe someone can point me in the right direction. I’m tidying up some spaghetti - there used to be (i swear) an inspection that highlighted where the arguments to a class or function were redundant because they were identical to the defaults, but I can’t see or find it anywhere, was this my imagination?
w
Never seen such inspection but if it exists I'd def want to use it. Perhaps it came from some 3rd party plugin?
c
I've seen it as well, so I can confirm it exists, but I don't know how it's named or how to trigger it 🤔
❤️ 1
w
thank you mr Claude 🎉 It's called
redundant value argument
and it seems disabled by default (or at least for me)
❤️ 1
c
Maybe it's recent that it's disabled by default, I've definitely seen it before
❤️ 1