Skip to content

Commit 9d2f6d2

Browse files
fixed saved search query (github#27808)
Co-authored-by: Sam Browning <[email protected]>
1 parent 394ff3c commit 9d2f6d2

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Using GitHub Code Search
3-
intro: 'You can use suggestions, completions and saved searches in the upgraded search interface to quickly find what you are looking for across {% data variables.product.prodname_dotcom_the_website %}.'
3+
intro: "You can use suggestions, completions and saved searches in the upgraded search interface to quickly find what you are looking for across {% data variables.product.prodname_dotcom_the_website %}."
44
allowTitleToDifferFromFilename: true
55
versions:
66
feature: code-search-code-view
@@ -27,9 +27,9 @@ For more information about the search syntax of code search, see "[AUTOTITLE](/s
2727
1. In the top navigation of {% data variables.product.prodname_dotcom_the_website %}, click the search bar.
2828
1. Under the search bar, you will see a list of suggestions organized by category, including recent searches and suggested repositories, teams, and projects that you have access to. You can also see a list of saved searches that you have created. For more information on saved searches, see "[Creating and managing saved searches](#creating-and-managing-saved-searches)."
2929

30-
![Screenshot of the {% data variables.product.prodname_dotcom %} search bar. There is a list of search suggestions by category below the search bar.](/assets/images/help/search/code-search-beta-search-bar.png)
30+
![Screenshot of the {% data variables.product.prodname_dotcom %} search bar. There is a list of search suggestions by category below the search bar.](/assets/images/help/search/code-search-beta-search-bar.png)
3131

32-
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.
32+
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.
3333

3434
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.
3535

@@ -40,11 +40,13 @@ For more information about the search syntax of code search, see "[AUTOTITLE](/s
4040
## Creating and managing saved searches
4141

4242
1. In the top navigation of {% data variables.product.prodname_dotcom_the_website %}, click the search bar and type `saved:`.
43-
1. Under the search bar, the "Saved searches" section should now appear. Click {% octicon "plus-circle" aria-hidden="true" %} **Create saved search**.
44-
1. 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**.
45-
1. 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.
46-
- To edit a saved search, in the "Saved searches" section, click {% octicon "pencil" aria-label="The pencil icon" %} to the right of the saved search.
47-
- To delete a saved search, click {% octicon "trash" aria-label="The trash icon" %} to the right of the saved search.
43+
1. Under the search bar, in the "Saved queries" section, click {% octicon "plus-circle" aria-hidden="true" %} **Manage saved searches**.
44+
1. In the pop-up window, type both the name you want for your saved search and the query you want to save.
45+
1. To finish creating your saved search, click **Create saved search**.
46+
1. To see your saved search, click the search bar. Your saved search will be in the "Saved queries" section. Clicking on a saved search entry will add the query to the search bar and filter the suggestions accordingly.
47+
1. To manage a saved search, type `saved:` in the search bar, then click {% octicon "plus-circle" aria-hidden="true" %} **Manage saved searches**.
48+
- To edit a saved search, to the right of the search, click {% octicon "pencil" aria-label="The pencil icon" %}.
49+
- To delete a saved search, to the right of the search, click {% octicon "trash" aria-label="The trash icon" %}.
4850

4951
## Using the search results view
5052

0 commit comments

Comments
 (0)