# Fail to navigate in VSCode

**URL:** <https://discourse.julialang.org/t/fail-to-navigate-in-vscode/101874>\
**Category:** New to Julia\
**Created:** [July 21, 2023, 8:32am UTC](https://discourse.julialang.org/t/fail-to-navigate-in-vscode/101874 "2023-07-21T08:32:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![baizhan](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@baizhan](https://discourse.julialang.org/u/baizhan)\
**Post date:** [July 21, 2023, 8:32am UTC](https://discourse.julialang.org/t/fail-to-navigate-in-vscode/101874/1 "2023-07-21T08:32:26Z")

</div>

I have a small julia file:

```julia
module Parent
  module sub1
    module subsub
      export f
      f(x)=x
    end

    using .subsub
    export f
  end

  module sub2
    export g
    using ..sub1
    g(x)=f(x)^2
  end

  using .sub2
  export g
end

```

This file works fine, and I can correctly use the `g` function after `using .Parent` in REPL.

However, I am using VSCode to edit the file. I was hoping that by right cliking the `f(x)` function in the `sub2` module, I can directly jump to its definition in module `subsub`.  
However, the VSCode simply tells me that it cannot find any `f` function.

What is the possible reason and how to solve it?
