# How can I locate a function in a module?

**URL:** <https://discourse.julialang.org/t/how-can-i-locate-a-function-in-a-module/106458>\
**Category:** New to Julia\
**Tags:** question, package\
**Created:** [November 20, 2023, 11:43am UTC](https://discourse.julialang.org/t/how-can-i-locate-a-function-in-a-module/106458 "2023-11-20T11:43:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiang\_ming\_zhang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jiang_ming_zhang/32/204063_2.png) [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Post date:** [November 20, 2023, 11:43am UTC](https://discourse.julialang.org/t/how-can-i-locate-a-function-in-a-module/106458/1 "2023-11-20T11:43:18Z")

</div>

I am reading someone else’s julia code.

He has a huge module.

In his code, he called many functions. I would like to locate the functions in the module so as to read the original codes for these functions.

I do not want to look into each jl file. That is very tedious.

Is there any smart way to quickly locate the original codes? I am using vscode.

---

<div class="post-metadata">

**Author:** ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Post date:** [November 20, 2023, 11:45am UTC](https://discourse.julialang.org/t/how-can-i-locate-a-function-in-a-module/106458/2 "2023-11-20T11:45:59Z")

</div>

Hello and welcome to the community 👋. Here are a few suggestions:

- If you are browsing on github, you can search for `function name_of_function` to find the source. (Does not always work, but most of the time)
- If you are browsing in vscode, you can press F12 (`go to symbol`) or search for a symbol using the command pallette by first typing `#`.
- Lastly, you can use the `@edit` or `@which` macros from the REPL

---

<div class="post-metadata">

**Author:** ![jiang\_ming\_zhang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jiang_ming_zhang/32/204063_2.png) [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Post date:** [November 20, 2023, 12:46pm UTC](https://discourse.julialang.org/t/how-can-i-locate-a-function-in-a-module/106458/3 "2023-11-20T12:46:24Z")

</div>

That works！It works well in Github.
