You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
While implicits are awesome, they can sometimes be tricky and it can be hard to find the right instance of implicit used in a given scope
// File Aobjectimplicits:deffoo(x: Int)(usingy: Int):Int= x + y
objecttest:
implicits.foo(1) // (given_Int) <- where is it defined ?// File BgivenInt=42
Describe the solution you'd like
A view of the implicits in the current scope, to then display it somewhere in the IDE. For the example above, it could return
B.given_Int
(This could also help lower the difficulty for newcomers)
Describe alternatives you've considered
None
Additional context
No response
Search terms
implicit, given, context
The text was updated successfully, but these errors were encountered:
Thanks for reporting! You should be able to go to definition via the link in hover over implicit parameter decoration (can be turned on in the settings)
We will be working on adding inlay hints instead, which should be much easier to use.
Is your feature request related to a problem? Please describe.
While implicits are awesome, they can sometimes be tricky and it can be hard to find the right instance of implicit used in a given scope
Describe the solution you'd like
A view of the implicits in the current scope, to then display it somewhere in the IDE. For the example above, it could return
(This could also help lower the difficulty for newcomers)
Describe alternatives you've considered
None
Additional context
No response
Search terms
implicit, given, context
The text was updated successfully, but these errors were encountered: