# Go to Declaration in juno does nothing

**URL:** https://discourse.julialang.org/t/go-to-declaration-in-juno-does-nothing/25499
**Category:** Juno
**Created:** [June 20, 2019, 9:06pm UTC](https://discourse.julialang.org/t/go-to-declaration-in-juno-does-nothing/25499 "2019-06-20T21:06:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ross\_Boylan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ross_boylan/32/9210_2.png) [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)
#### Post date: [June 20, 2019, 9:06pm UTC](https://discourse.julialang.org/t/go-to-declaration-in-juno-does-nothing/25499/1 "2019-06-20T21:06:40Z")

</div>

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](https://discourse.julialang.org/t/juno-keyboard-shortcuts-and-source-navigation/16262); 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.

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [July 8, 2019, 7:57am UTC](https://discourse.julialang.org/t/go-to-declaration-in-juno-does-nothing/25499/2 "2019-07-08T07:57:47Z")

</div>

I can’t repro that issue in that exact same file:

 ![gotodef](https://global.discourse-cdn.com/julialang/original/3X/a/1/a1e3b90cddc0a7da39476d37cd85e20508474d44.gif)

Do note that you need to use `Go to Definition` instead of `Go to Declaration` – the latter is a ctags based option shipped with Atom, which doesn’t work with Julia out of the box.

---

<div class="post-metadata">

### Author: ![Rafal\_Machalica](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafal_machalica/32/8207_2.png) [@Rafal\_Machalica](https://discourse.julialang.org/u/Rafal_Machalica)
#### Post date: [July 28, 2019, 4:35pm UTC](https://discourse.julialang.org/t/go-to-declaration-in-juno-does-nothing/25499/3 "2019-07-28T16:35:14Z")

</div>

I had same issue. Was trying “Go to Declaration”, because it seemed the only option available (and it didn’t do anything). However, now I realized, that “Go to Declaration” is hidden under “Julia-Client” submenu. This one works, even without marking whole identifier.
