1
0
mirror of synced 2025-12-19 09:57:42 -05:00

Code search on Mobile - [GA] (#43353)

This commit is contained in:
Siara
2023-10-04 12:56:33 -07:00
committed by GitHub
parent af812d6b62
commit f1f93a805f
5 changed files with 23 additions and 4 deletions

View File

@@ -26,11 +26,14 @@ With {% data variables.product.prodname_mobile %} you can:
- Edit files in pull requests
- Search for, browse, and interact with users, repositories, and organizations
- Receive a push notification when someone mentions your username
{% ifversion mobile-code-search %}- Search through code in a specific repository{% endif %}
{% ifversion fpt or ghec %}- Secure your GitHub.com account with two-factor authentication
- Verify your sign in attempts on unrecognized devices{% endif %}
For more information about notifications for {% data variables.product.prodname_mobile %}, see "[AUTOTITLE](/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#enabling-push-notifications-with-github-mobile)."
The following documentation contains more information about using {% data variables.product.company_short %} features on {% data variables.product.prodname_mobile %}.
- For more information about notifications for {% data variables.product.prodname_mobile %}, see "[AUTOTITLE](/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#enabling-push-notifications-with-github-mobile)."
{% ifversion mobile-code-search %}- For more information about using {% data variables.product.prodname_dotcom %} code search on {% data variables.product.prodname_mobile %}, see "[AUTOTITLE](/search-github/github-code-search/using-github-code-search#using-github-code-search-on-github-mobile)."{% endif %}
{% ifversion fpt or ghec %}- For more information on two-factor authentication using {% data variables.product.prodname_mobile %}, see "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-github-mobile) and [Authenticating using {% data variables.product.prodname_mobile %}](/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication#verifying-with-github-mobile)." {% endif %}
## Installing {% data variables.product.prodname_mobile %}

View File

@@ -10,9 +10,9 @@ topics:
## About {% data variables.product.prodname_dotcom %} code search
{% data variables.product.prodname_dotcom %} code search lets you rapidly search, navigate and understand your code, your team's code, and the code of the open source community, all from {% data variables.product.prodname_dotcom_the_website %}. This search engine is designed to be scalable, code-aware, and support searching code across {% data variables.product.prodname_dotcom %} using regular expressions, boolean operations, specialized qualifiers, and symbol search. For more information on the syntax of code search, see "[AUTOTITLE](/search-github/github-code-search/understanding-github-code-search-syntax)."
{% data variables.product.prodname_dotcom %} code search lets you rapidly search, navigate and understand your code, your team's code, and the code of the open source community. This search engine is designed to be scalable, code-aware, and support searching code across {% data variables.product.prodname_dotcom %} using regular expressions, boolean operations, specialized qualifiers, and symbol search. For more information on the syntax of code search, see "[AUTOTITLE](/search-github/github-code-search/understanding-github-code-search-syntax)."
Code search is integrated with features in the search interface on {% data variables.product.prodname_dotcom_the_website %}, such as suggestions, completions, and the ability to save your searches. For more information, see "[AUTOTITLE](/search-github/github-code-search/using-github-code-search)."
Code search is integrated with features in the search interface on {% data variables.product.prodname_dotcom_the_website %}, such as suggestions, completions, and the ability to save your searches. On {% data variables.product.prodname_mobile %}, you can use the same methods to search through code in a specific repository. For more information, see "[AUTOTITLE](/search-github/github-code-search/using-github-code-search)."
{% data reusables.search.code-search-login-requirement %}
@@ -38,6 +38,8 @@ If you use the `path:` qualifier for a file that's in multiple repositories with
Code search supports searching for symbol definitions in code, such as function or class definitions, using the `symbol:` qualifier. However, note that the `symbol:` qualifier only searches for definitions and not references, and not all symbol types or languages are fully supported yet. For a list of what languages are supported, see "[AUTOTITLE](/search-github/github-code-search/understanding-github-code-search-syntax#symbol-qualifier)."
{% ifversion mobile-code-search %}On {% data variables.product.prodname_mobile %}, you can only search the code in one repository at a time. For more information, see "[AUTOTITLE](/search-github/github-code-search/using-github-code-search#using-github-code-search-on-github-mobile)."{% endif %}
## Feedback and support
You can view and share feedback about code search in our [discussion forum](https://github.com/orgs/community/discussions/categories/code-search-and-navigation).

View File

@@ -31,7 +31,7 @@ For more information about the search syntax of code search, see "[AUTOTITLE](/s
If you click on any of the specific suggestions, you will be taken directly to the page for that suggestion (for example, the repository or project page). If you click on a recent or saved search, depending on the type of search, the search query will appear in the search bar or you will be taken to the search results page for the search term.
1. Once you start typing a search query, you will see a list of completions and suggestions that match your query. You can click on a suggestion to jump to a specific location. As you type more qualifiers, you will see more specific suggestions, such as code files you can jump to directly.
{% data reusables.search.type-code-search-query-step %}
![Screenshot of a search for "repo:octocat/spoon-knife". The code results are outlined in dark orange.](/assets/images/help/search/code-search-beta-search-bar-code-suggestions.png)
@@ -53,3 +53,11 @@ For more information about the search syntax of code search, see "[AUTOTITLE](/s
To construct a search query, as well as view and filter results, using a visual interface, you can use the {% data variables.search.search_page_url %} or {% data variables.search.advanced_url %}. If you press Enter after typing a search query in the search bar, you will also be taken to the search results view.
On the search results view, you can navigate between different types of search results, including code, issues, pull request, repositories, and more. You can also view and use filters.
## Using {% data variables.product.prodname_dotcom%} code search on {% data variables.product.prodname_mobile %}
On {% data variables.product.prodname_mobile %}, you can navigate to a repository and use code search on the code in that repository. Code search on {% data variables.product.prodname_mobile %} uses the same syntax as code search on {% data variables.product.prodname_dotcom_the_website %}. For more information, see "[AUTOTITLE](/search-github/github-code-search/about-github-code-search#limitations)."
1. On {% data variables.product.prodname_mobile %}, navigate to the main page of a repository.
1. Tap {% octicon "file-code" aria-hidden="true" %} **Code**, then tap the search bar.
{% data reusables.search.type-code-search-query-step %}

View File

@@ -0,0 +1,5 @@
# Reference: #12074
# Documentation for GitHub Code Search on GitHub Mobile GA
versions:
fpt: '*'
ghec: '*'

View File

@@ -0,0 +1 @@
1. Once you start typing a search query, you will see a list of completions and suggestions that match your query. You can click on a suggestion to jump to a specific location. As you type more qualifiers, you will see more specific suggestions, such as code files you can jump to directly.