1
0
mirror of synced 2025-12-21 10:57:10 -05:00
Files
docs/content/github/managing-files-in-a-repository/navigating-code-on-github.md
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00

1.4 KiB

title, intro, redirect_from, versions
title intro redirect_from versions
Navigating code on GitHub You can understand the relationships within and across repositories by navigating code directly in {% data variables.product.product_name %}.
/articles/navigating-code-on-github
free-pro-team
*

About navigating code on {% data variables.product.prodname_dotcom %}

Navigating code functions use the open source library semantic. The following languages are supported:

  • CodeQL
  • Go
  • Java
  • JavaScript
  • PHP
  • Python
  • Ruby
  • TypeScript

{% note %}

Note: Code navigation works for active branches. If the feature is enabled for you but you don't see links to the definitions of functions and methods, push to the branch and try again.

{% endnote %}

Jumping to the definition of a function or method

You can jump to a function or method's definition within the same repository by clicking the function or method call in a file.

Jump-to-definition tab

Finding all references of a function or method

You can find all references for a function or method within the same repository by clicking the function or method call in a file, then clicking the References tab.

Find all references tab

Further reading