Skip to content

Commit 52acf5e

Browse files
committed
updates based on feedback
1 parent d81ba80 commit 52acf5e

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

docs/codeql/codeql-for-visual-studio-code/running-codeql-queries-at-scale-with-mrva.rst

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,16 @@ For example, if you want to continue analyzing a set of repositories that had re
153153
154154
You can then insert the ``new-repo-list`` of repositories into your list of custom repository lists for easy access in the Variant Analysis Repositories panel.
155155

156-
Using code search to add repositories to a custom list
156+
Using GitHub code search to add repositories to a custom list
157157
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158158

159-
You can use code search directly in the CodeQL extension to add a subset of repositories from GitHub.com to a custom list. Note that this feature uses the legacy code search via the code search API. For more information on the syntax to use, see "`Searching code (legacy) <https://docs.github.com/en/search-github/searching-on-github/searching-code>`__."
159+
You can use code search directly in the CodeQL extension to add a subset of repositories from GitHub.com to a custom list.
160+
161+
.. pull-quote::
162+
163+
Note
164+
165+
This feature uses the legacy code search via the code search API. For more information on the syntax to use, see "`Searching code (legacy) <https://docs.github.com/en/search-github/searching-on-github/searching-code>`__."
160166

161167
For example, to add all repositories in the ``rails`` organization on GitHub, you can search ``org:rails``.
162168

@@ -166,18 +172,16 @@ Custom lists can contain a maximum of 1000 repositories, so at most only the fir
166172

167173
#. Right-click on the list you have chosen and then click **Add repositories with GitHub Code Search**.
168174

169-
#. In the search bar, select a language for your search from the choices in the dropdown.
175+
#. In the pop-up that appears at the top of the application, under the search bar, select a language for your search from the choices in the dropdown.
170176

171177
.. image:: ../images/codeql-for-visual-studio-code/variant-analysis-code-search-language.png
172178
:alt: Screenshot of the search bar for using code search to add repositories to a custom list. The search bar asks you to choose a language for your search and has a dropdown list of languages to choose from.
173179

174180
#. In the search bar, type the search query that you want to use and press **Enter**.
175181

176-
#. You can view the progress of your search in the bottom right corner of the application in a box with the text "Searching for repositories...". If you click **Cancel**, no repositories will be added to your list.
177-
178-
#. Once complete, you will see the resulting repositories appear in the dropdown under your custom list in the Variant Analysis Repositories panel.
182+
You can view the progress of your search in the bottom right corner of the application in a box with the text "Searching for repositories...". If you click **Cancel**, no repositories will be added to your list. Once complete, you will see the resulting repositories appear in the dropdown under your custom list in the Variant Analysis Repositories panel.
179183

180-
It is possible that some of the resulting repositories do not have CodeQL databases or are not accessible. When you run an analysis on the list, the results view will show you which repositories could not be analyzed.
184+
Not all resulting repositories will have CodeQL databases or allow access to be analyzed. When you run an analysis on the list, the Variant Analysis Results view will show you which repositories could not be analyzed.
181185

182186
Troubleshooting variant analysis
183187
--------------------------------

0 commit comments

Comments
 (0)