Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bd33100

Browse files
saritaijules-p
andauthored
Apply suggestions from code review
Co-authored-by: Jules <[email protected]>
1 parent b70af67 commit bd33100

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

content/search-github/github-code-search/about-github-code-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ We currently only support searching for code on the default branch of a reposito
4949

5050
Results for any search with the new code search (beta) are restricted to 100 results (10 pages). This limitation only applies to searching code with the new code search (beta) and does not apply to other types of searches.
5151

52-
The new code search(beta) 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 "[Symbol qualifier](/search-github/github-code-search/understanding-github-code-search-syntax#symbol-qualifier)."
52+
The new code search (beta) 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 "[Symbol qualifier](/search-github/github-code-search/understanding-github-code-search-syntax#symbol-qualifier)."
5353
## Feedback and support
5454

5555
You can view and share feedback about the new code search (beta) in our [discussion forum](https://github.com/orgs/community/discussions/categories/code-search-and-navigation).

content/search-github/github-code-search/understanding-github-code-search-syntax.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Understanding GitHub Code Search (beta) syntax
3-
intro: 'You can build search queries that return the results you want with specialized code qualifiers, regular expressions, and boolean operations.'
3+
intro: 'You can build search queries for the results you want with specialized code qualifiers, regular expressions, and boolean operations.'
44
allowTitleToDifferFromFilename: true
55
versions:
66
feature: github-code-search
@@ -20,7 +20,7 @@ topics:
2020

2121
The search syntax in this article only applies to searching code with the new code search (beta) enabled. {% data reusables.search.non-code-search-explanation %}
2222

23-
Search queries consist of search terms, consisting of text you want to search for, and qualifiers, which narrow down the search.
23+
Search queries consist of search terms, comprising text you want to search for, and qualifiers, which narrow down the search.
2424

2525
A bare term with no qualifiers will match either the content of a file or the file's path.
2626

@@ -133,7 +133,7 @@ To search for files within an organization, use the `org:` qualifier. For exampl
133133
org:github
134134
```
135135

136-
To search for files within an organization, use the `user:` qualifier. For example:
136+
To search for files within a personal account, use the `user:` qualifier. For example:
137137

138138
```
139139
user:octocat
@@ -273,7 +273,7 @@ log4j NOT is:archived
273273
274274
## Using regular expressions
275275
276-
The new code search (beta) supports regular expressions to search for patterns in your code. You can use regular expressions in bare search terms as well as within many qualifiers, by surrounding the regex expression in backslashes.
276+
The new code search (beta) supports regular expressions to search for patterns in your code. You can use regular expressions in bare search terms as well as within many qualifiers, by surrounding the regex in backslashes.
277277
278278
For example, to search for the regular expression `sparse.*index`, you would use:
279279

content/search-github/github-code-search/using-github-code-search.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ For more information about the search syntax of the new code search (beta), see
3737

3838
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, you will be taken to the search results view for that search query.
3939

40-
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 those 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.
40+
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.
4141
1. After typing your query, you can also hit Enter to be taken to the full search results view. For more information, see "[Using the search results view](#using-the-search-results-view)."
4242

4343
## Creating and managing saved searches
4444

4545
1. In the top navigation of {% data variables.product.prodname_dotcom_the_website %}, click the search bar and start typing a search query (or any letter).
46-
2. Under the search bar, the "Saved searches" section should now show. Click **Create saved search**.
46+
2. Under the search bar, the "Saved searches" section should now appear. Click **Create saved search**.
4747
3. In the pop-up window, fill out the name you want for your query and the query that you want to save. Click **Create saved search**.
4848

4949
If you click again on the search bar, you can now see your saved search in the "Saved searches" section under the search bar. Clicking on a saved search entry will add the query to the search bar and filter the suggestions accordingly.
@@ -56,6 +56,6 @@ This search results view already existed for the current search on GitHub, and t
5656

5757
To construct a search query and view, sort, and filter results using a visual interface, you can use {% data variables.search.search_page_url %} or {% data variables.search.advanced_url %}.
5858

59-
If you hit Enter after typing a search query in the search bar, you will also be taken to the search results view.
59+
If you press Enter after typing a search query in the search bar, you will also be taken to the search results view.
6060

61-
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 click on filters and sort results.
61+
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 click on filters, and sort results.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
This article refers to the classic GitHub search experience. If you are participating in the new code search and code view beta and have enabled it, the syntax for searching code and the GitHub.com search interface will differ. However, the search syntax for non-code search types will stay the same. <br><br>
1+
This article refers to the classic GitHub search experience. If you are participating in the new code search and code view beta and have enabled the new functionality, the syntax for searching code and the GitHub.com search interface will differ. However, the search syntax for non-code search types will stay the same. <br><br>
22

33
For information about the new code search and code view, currently in limited public beta, see "[About GitHub Code Search (beta)](/search-github/github-code-search/about-github-code-search.md)." To try out the new code search and code view beta, join the [waitlist](https://github.com/features/code-search-code-view/signup).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
The new code search and code view are in limited public beta. To join the waitlist for access, navigate to https://github.com/features/code-search-code-view/signup.
1+
The new code search and code view are in limited public beta. To join the waitlist for access, visit https://github.com/features/code-search-code-view/signup.

0 commit comments

Comments
 (0)