How to discover the source of implicit parameters in IDE?
In the following Scala example, there is an implicit parameter passed to sorted
List("banana", "apple").sorted
Is there an automated way I can discover, from within the IDE, where such implicit parameters have come from, in general?
Note that I know Scala's implicit resolution rules fairly well and can resolve implicits manually. But resolution can often be complex, time-consuming and/or error prone, so this is an area where IDE tooling could help, *alot*. Is there currently any assistance here?
-Ben
Please sign in to leave a comment.
Try Ctrl+Shift+P action (show implicit parameters). Ctrl+Shift+Q - show implicit conversions.
Best regards,
Alexander Podkhalyuzin.