Skip to content

Commit 2ede709

Browse files
committed
Add a few missing details
1 parent 824fd75 commit 2ede709

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/codeql/codeql-for-visual-studio-code/using-the-codeql-model-editor.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ Displaying the CodeQL model editor
3232
#. The CodeQL model editor runs a series of telemetry queries to identify APIs in the code and the editor is displayed in a new tab.
3333
#. When the telemetry queries are complete, the APIs that have been identified are shown in the editor.
3434

35+
.. tip::
36+
37+
The "CodeQL method modeling" section is a view that you can move from the primary sidebar to the secondary sidebar, when you want more space while you are modeling calls or methods. If you close the view, you can reopen it from the "Open Views" option in the **View** menu.
38+
3539
Modeling the calls your codebase makes to external APIs
3640
-------------------------------------------------------
3741

@@ -56,13 +60,13 @@ You typically use this approach when you are looking at a specific codebase wher
5660
:width: 800
5761
:alt: Screenshot of a file showing a place where your codebase calls the API is highlighted with a dark orange outline.
5862

59-
#. The file containing the first call from your codebase to the API is opened and a "CodeQL methods usage" view opened (typically this is co-located with the "Problems" and "Terminal" views. The "CodeQL methods usage" view lists of all the calls from your code to the API, grouped by method. You can click through each use to decide how to model your use of the method.
63+
#. The file containing the first call from your codebase to the API is opened and a "CodeQL methods usage" view is displayed in the VS Code Panel (where the "Problems" and "Terminal" views are usually displayed). The "CodeQL methods usage" view lists of all the calls from your code to the API, grouped by method. You can click through each use to decide how to model your use of the method.
6064

6165
.. image:: ../images/codeql-for-visual-studio-code/model-application-mode-view-list.png
6266
:width: 800
6367
:alt: Screenshot of the "CodeQL methods usage" view. The currently displayed call to an external method is highlighted blue.
6468

65-
#. When you have determined how to model your use of the method, define the **Model type** in either the main model editor tab, or in the "CodeQL method modeling" tab.
69+
#. When you have determined how to model your use of the method, you can define the **Model type** in the "CodeQL method modeling" tab of the CodeQL extension and this change is automatically reflected in the main model editor.
6670
#. The remaining fields are updated with available options:
6771

6872
- **Source**: choose the **Output** element to model.

0 commit comments

Comments
 (0)