Skip to content

Commit 190050f

Browse files
committed
Tweak formatting and styling
1 parent 458baef commit 190050f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/codeql/codeql-for-visual-studio-code/analyzing-your-projects.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Downloading a database from GitHub
4747
Filtering databases and queries by language
4848
-------------------------------------------
4949

50-
Optionally, to see databases containing a specific language, as well as queries written for that language, you can apply a language filter using the language selector.
50+
Optionally, to see databases containing a specific language and queries written for that language, you can apply a language filter using the language selector.
5151

5252
#. To see available language filters, in the sidebar, click the **Language** title bar.
5353
#. Hover over the language filter you would like to apply, then click **Select**.
@@ -59,7 +59,7 @@ Optionally, to see databases containing a specific language, as well as queries
5959
Creating a query
6060
------------------------
6161

62-
You can generate a query template for a specific language from the queries panel, helping you quickly create a custom query.
62+
You can generate a query template for a specific language from the queries panel, then write your own code to quickly create a custom query.
6363

6464
#. In the sidebar, hover over the **Queries** title bar, then click the **Create query** icon.
6565

@@ -68,7 +68,7 @@ You can generate a query template for a specific language from the queries panel
6868
:alt: Screenshot of the queries panel. The "Create query" icon is outlined in dark orange.
6969

7070
#. In the Command Palette, select the target language for your query. Selecting a language will autogenerate a folder labeled "codeql-custom-queries-LANGUAGE", which will contain a query template labeled "example.ql".
71-
#. In the template file, write your custom query, then save the file. Once your query is finished, you can run it from the queries panel.
71+
#. In the template, write your custom query, then save the file. Once your query is finished, you can run it from the queries panel.
7272

7373
Running a query
7474
------------------------
@@ -163,14 +163,15 @@ This is helpful if you want to test your query on multiple codebases, or find a
163163
Viewing previous queries
164164
--------------------------
165165

166-
To see the queries that you have run in the current session, open the Query History view. You can filter the Query History view by language. For more information, see ":ref:`Filtering databases and queries by language <filtering-databases-and-queries-by-language>`."
166+
To see the queries that you have run in the current session, open the Query History view.
167167

168168
.. image:: ../images/codeql-for-visual-studio-code/query-history.png
169169
:width: 350
170170
:alt: See a list of previous queries
171171

172172
The Query History contains information including the date and time when the query was run, the name of the query, the database on which it was run, and how long it took to run the query.
173173
To customize the information that is displayed, right-click an entry and select **Rename**.
174+
Additionally, you can filter the Query History view by language. For more information, see ":ref:`Filtering databases and queries by language <filtering-databases-and-queries-by-language>`."
174175

175176
Click an entry to display the corresponding results in the Query Results view, and double-click
176177
to display the query itself in the editor (or right-click and select **View Query**).

0 commit comments

Comments
 (0)