1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Files
docs/content/github/managing-files-in-a-repository/navigating-code-on-github.md
Ethan Palm 18c71b152b Language support across GitHub products (#18677)
* Update content

* Create github-language-support.md

* Add reminder HTML comments

* Add link to supported languages article

* Add intro for GitHub's products

* Add note to list of CodeQL supported languages

* table with package managers

* Update table and add conceptual info

* Versioning to fix broken links

* Fix table layout

* Add package managers to table

* Fix versioning syntax

* Incorporate reviewer feedback

* Center table headers

* Update Dependabot features in table

* Add footnote for third-party code scanning support

* Update link

* support native markdown table alignments

* Update links for ghes2.22

* Use proper names of package managers

* Add Scala

* Adjust conceptual info

* Flip table axes

* Delete unused reusables

* Update link to Packages info

* fix merge conflict

* fix other merge conflict

* Update codeql-languages-bullets.md

* Revert "Update codeql-languages-bullets.md"

This reverts commit 69547205f5e43a8fbf3edc51c89f0f647eef285a.

* Update article topic to sentence case

Co-authored-by: Sarah Schneider <sarahs@github.com>
2021-05-10 12:35:34 -04:00

1.6 KiB

title, intro, redirect_from, versions, topics
title intro redirect_from versions topics
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
*
Repositories

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

Code navigation uses the open source library tree-sitter. The following languages are supported:

  • C#
  • 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