I have been working on implmenting a TargetElementEvaluator in my custom language plugin, the problem I am using it to solve is one of aliasing. In lua you can have the following
function foo() end
local foo = foo
What this means is that foo will resolve to "local foo" and not the function foo.
I was using the TargetElementEvaluator to follow the chain of references and assignments until it reached the correct defintion.
This works for "go to defintion", however it does not work for quickdocumentation.
I guess my questions are:
1) Am I using TargetElementEvaluator correctly?
2) Should it work for documentation as well?
Thanks in advance,