How do I stop Intellij IDEA making the generic typ...
# intellij
o
How do I stop Intellij IDEA making the generic type greyed out? ("remove explicit type" warning)
s
Do you need the generic type there? Does it not compile without it?
o
It does compile, but I like the explicitness/verbosity here
s
I think the
OcurrenceOption
bit of the statement is pretty obvious but idk
o
This is just an example. It does this on everything related
s
if you activate show intentions (option-enter on macOS) you’ll be able to expand the dropdown and add a suppression
Screen Shot 2020-03-18 at 4.05.31 PM.png
o
Thank you Shawn
đź‘Ť 1