jump to implicit argument definition #274
-
In intellij idea there is an action called 'show implicit arguments'. If I click on element in implict arguments list I jump to the location where this argument is defined. Is there a way to tell where implict arguments come from in nvim-metals? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @antosha417, great question. So there is a way to see which are being used. You can see this if you set While this does show you where your implicit is coming from, it doesn't really allow you to jump to it. The easiest thing to do would probably be the "goto workspace symbol", and then you can just type the symbol in, and you should be able to jump to it that way. There are actually two settings that might interest you related to implicits: Lines 313 to 324 in 152af73 |
Beta Was this translation helpful? Give feedback.
Hey @antosha417, great question. So there is a way to see which are being used. You can see this if you set
showImplicitArguments = true
. Then when you do a hover, it will be in theWith synthetics added
section. Here is a simple example:While this does show you where your implicit is coming from, it doesn't really allow you to jump to it. The easiest thing to do would probably be the "goto workspace symbol", and then you can just type the symbol in, and you should be able to jump to it that way.
There are actually two settings that might interest you related to implicits:
nvim-metals/doc/metals.txt
Lines 313 to 324 in 152af73