![]() Cross-repository precise code navigationĬross-repo code navigation is available for languages that are supported by precise code navigation and the dependency graph. If your precise results appear inaccurate, you can file a support request. If you don't see the results you expect from a precise code navigation query, you can click on the "search-based" link in the displayed popover to perform search-based navigation. Both strategies are effective at finding results and both make sure to avoid inappropriate results such as comments, but precise code navigation can give more accurate results, especially when a repository contains multiple methods or functions with the same name. ![]() Other languages use search-based code navigation, which searches all definitions and references across a repository to find entities with a given name. You can find all references for a function or method within the same repository by clicking the function or method call in a file.Ĭertain languages supported by GitHub have access to precise code navigation, which uses an algorithm (based on the open source stack-graphs library) that resolves definitions and references based on the set of classes, functions, and imported definitions that are visible at any given point in your code. You can jump to a function or method's definition within the same repository by clicking the function or method call in a file.įinding all references of a function or method Jumping to the definition of a function or method To exit the search for a specific symbol, click All Symbols. To navigate to a specific reference to a symbol, click a result of the symbol search under In this file. To navigate between references to a symbol, click or. To search for a symbol in all repositories on GitHub, click all repositories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |