# What tools you use for finding a reference?

**URL:** <https://forum.golangbridge.org/t/what-tools-you-use-for-finding-a-reference/6471>\
**Category:** Getting Help\
**Created:** [August 28, 2017, 4:16am UTC](https://forum.golangbridge.org/t/what-tools-you-use-for-finding-a-reference/6471 "2017-08-28T04:16:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilcon](https://forum.golangbridge.org/letter_avatar_proxy/v4/letter/g/85f322/32.png) [@gilcon](https://forum.golangbridge.org/u/gilcon)\
**Post date:** [August 28, 2017, 4:16am UTC](https://forum.golangbridge.org/t/what-tools-you-use-for-finding-a-reference/6471/1 "2017-08-28T04:16:04Z")

</div>

Good day,

I just want to ask what tools you are using to find all the reference for a method, variable and struct?  
example I want to find who is using the `FindMe()` function or on what places a `variable` is referenced.

Thanks.

---

<div class="post-metadata">

**Author:** ![calmh](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/calmh/32/2896_2.png) [@calmh](https://forum.golangbridge.org/u/calmh)\
**Post date:** [August 28, 2017, 6:17am UTC](https://forum.golangbridge.org/t/what-tools-you-use-for-finding-a-reference/6471/2 "2017-08-28T06:17:49Z")

</div>

Shift-F12 in vscode. 🙂 (I expect it’s using [`guru`](https://godoc.org/golang.org/x/tools/cmd/guru) in the background.)

Sometimes, just `git grep`.

---

<div class="post-metadata">

**Author:** ![gilcon](https://forum.golangbridge.org/letter_avatar_proxy/v4/letter/g/85f322/32.png) [@gilcon](https://forum.golangbridge.org/u/gilcon)\
**Post date:** [August 28, 2017, 6:57am UTC](https://forum.golangbridge.org/t/what-tools-you-use-for-finding-a-reference/6471/3 "2017-08-28T06:57:08Z")

</div>

Do you have for emacs?

I tried guru but always got `Go guru exited abnormally with code 1`

---

<div class="post-metadata">

**Author:** ![colega](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/colega/32/3118_2.png) [@colega](https://forum.golangbridge.org/u/colega)\
**Post date:** [August 28, 2017, 9:38am UTC](https://forum.golangbridge.org/t/what-tools-you-use-for-finding-a-reference/6471/4 "2017-08-28T09:38:30Z")

</div>

I’m using [Gogland](https://www.jetbrains.com/go/) and it does that pretty well (search for references, refactor, etc.)

---

<div class="post-metadata">

**Author:** ![system](https://forum.golangbridge.org/uploads/default/original/2X/5/5ad234f7c3dbc68b6cc72d338ce4f2973d9fd81c.png) [@system](https://forum.golangbridge.org/u/system)\
**Post date:** [November 26, 2017, 9:38am UTC](https://forum.golangbridge.org/t/what-tools-you-use-for-finding-a-reference/6471/5 "2017-11-26T09:38:43Z")

</div>

Closed on November 26, 2017, 9:38am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
