Skip to content

Commit 0d7b27d

Browse files
committed
A few fixes
1 parent 1142b77 commit 0d7b27d

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

docs/codeql/codeql-language-guides/basic-query-for-go-code.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Running a quick query
4747
.. image:: ../images/codeql-for-visual-studio-code/basic-go-query-results-1.png
4848
:align: center
4949

50-
If any matching code is found, click a link in the ``w`` column to view it in the code viewer.
50+
If any matching code is found, click a link in the ``w`` column to open the file and highlight the matching location.
5151

5252
.. image:: ../images/codeql-for-visual-studio-code/basic-go-query-results-2.png
5353
:align: center

docs/codeql/codeql-language-guides/basic-query-for-java-code.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Running a quick query
5757

5858
If any matching code is found, click a link in the ``ma`` column to view the ``.equals`` expression in the code viewer.
5959

60-
basic-java-query-results-2.png
60+
.. image:: ../images/codeql-for-visual-studio-code/basic-java-query-results-2.png
6161
:align: center
6262

6363
.. include:: ../reusables/vs-code-basic-instructions/note-store-quick-query.rst

docs/codeql/codeql-language-guides/basic-query-for-javascript-code.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Running a quick query
3535
.. image:: ../images/codeql-for-visual-studio-code/basic-js-query-results-1.png
3636
:align: center
3737

38-
If any matching code is found, click one of the links in the ``e`` column to view the expression in the code viewer.
38+
If any matching code is found, click one of the links in the ``e`` column to open the file and highlight the matching expression.
3939

4040
.. image:: ../images/codeql-for-visual-studio-code/basic-js-query-results-2.png
4141
:align: center

docs/codeql/codeql-language-guides/basic-query-for-python-code.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ The query we're going to run performs a basic search of the code for ``if`` stat
1616
1717
if error: pass
1818
19+
.. include:: ../reusables/vs-code-basic-instructions/find-database.rst
20+
1921
Running a quick query
2022
---------------------
2123

@@ -35,7 +37,7 @@ Running a quick query
3537
.. image:: ../images/codeql-for-visual-studio-code/basic-python-query-results-1.png
3638
:align: center
3739

38-
If any matching code is found, click a link in the ``ifstmt`` column to view the ``if`` statement in the code viewer.
40+
If any matching code is found, click a link in the ``ifstmt`` column to open the file and highlight the matching ``if`` statement.
3941

4042
.. image:: ../images/codeql-for-visual-studio-code/basic-python-query-results-2.png
4143
:align: center

docs/codeql/codeql-language-guides/basic-query-for-ruby-code.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ The query we're going to run performs a basic search of the code for ``if`` expr
1717
if error
1818
# Handle the error
1919
20+
.. include:: ../reusables/vs-code-basic-instructions/find-database.rst
21+
2022
Running a quick query
2123
---------------------
2224

2325
.. include:: ../reusables/vs-code-basic-instructions/run-quick-query-1.rst
2426

25-
#. In the quick query tab, delete the content and paste in the following query`.
27+
#. In the quick query tab, delete the content and paste in the following query.
2628

2729
.. code-block:: ql
2830
@@ -38,7 +40,7 @@ Running a quick query
3840
.. image:: ../images/codeql-for-visual-studio-code/basic-ruby-query-results-1.png
3941
:align: center
4042

41-
If any matching code is found, click a link in the ``ifexpr`` column to view the ``if`` statement in the code viewer.
43+
If any matching code is found, click a link in the ``ifexpr`` column to open the file and highlight the matching ``if`` statement.
4244

4345
.. image:: ../images/codeql-for-visual-studio-code/basic-ruby-query-results-2.png
4446
:align: center

docs/codeql/reusables/vs-code-basic-instructions/find-database.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ Before you start writing queries for |language-text| code, you need a CodeQL dat
1111

1212
#. Optionally, if the repository has more than one CodeQL database available, select |language-code| to download the database created from the |language-text| code.
1313

14-
Information about the download progress for the database is shown in the bottom right corner of Visual Studio Code. When the download is complete, the database is shown with a check mark in the **Databases** section of the CodeQL extension.
15-
16-
.. image:: ../images/codeql-for-visual-studio-code/database-selected.png
17-
:align: center
18-
:width: 500
14+
Information about the download progress for the database is shown in the bottom right corner of Visual Studio Code. When the download is complete, the database is shown with a check mark in the **Databases** section of the CodeQL extension (see screenshot below).
1915

2016
.. |codeql-ext-icon| image:: ../images/codeql-for-visual-studio-code/codeql-extension-icon.png
2117
:width: 20

0 commit comments

Comments
 (0)