If, in atom/juno, I select an identifier in a julia source file and right click, “Go to Declaration” is one of the choices. However, when I select it the right click menu closes and nothing else happens.
This is similar to the behavior reported in Juno keyboard shortcuts and source navigation; the advice there seemed to be that the code needed to be loaded. I added the package and issued a using directive, but it made no difference.
Specifically I was looking at twicedifferentiable.jl in NLSolversBase. I highlighted GradientConfig
and selected “Go to Declaration”. I also tried selecting ‘ForwardDiff.GradientConfig’ and right-clicking.
Then I added ForwardDiff in the packages manager in the REPL (which is in the environment I’m working on, not the default) and issued using ForwardDiff
. It didn’t change the non-results.
@search ForwardDiff.GradientConfig
can find the function; there are 3 choices (BTW, @search GradientConfig
finds nothing). If Go to Declaration only works when there’s one choice that would explain the problem, though it would also mean it isn’t much practical help.