I'm searching a way to find implicit conversion. Something which give me the packages where a conversion from one to the other type is.
As an example:
found : java.lang.String("")
required: net.liftweb.http.js.JsExp
After some searching in the Scaladoc i found the package with the implicit conversion. Isn't there some automated way to do this search?
Edit: I'm not so good at formulating. My problem is to find out which package i have to import. The IDE already displays when an implicit conversion is used. But sometimes i believe that somewhere a implicit conversion should exist but have no clue in which package.
The NetBeans plugin for Scala projects will allow you Ctrl-hover over a value to see any implicit conversions that have been applied. You can also use some of the compiler debugging options when attempting to compile your code; I think here -Xlog-implicits might be what you're looking for. More useful compiler flags can be found here: http://www.paulbutcher.com/2010/04/scala-compiler-advanced-options/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With