You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/codeql/codeql-for-visual-studio-code/using-the-codeql-model-editor.rst
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Explain how to find the data extension files that you've created and test them.
16
16
About the CodeQL model editor
17
17
-----------------------------
18
18
19
-
The CodeQL model editor is a new feature in CodeQL for VS Code to support GitHub staff creating CodeQL models for libraries and frameworks written in Java and C#.
19
+
The CodeQL model editor guides you through the process of creating CodeQL models for libraries and frameworks that you rely on that are not supported by the standard CodeQL Libraries.
20
20
21
21
The editor takes a CodeQL database and runs some telemetry queries to identify uses of APIs that can be used to reason about the dataflow through the codebase. There are two modes of operation:
22
22
@@ -26,21 +26,22 @@ The editor takes a CodeQL database and runs some telemetry queries to identify u
26
26
Setting up the CodeQL model editor
27
27
----------------------------------
28
28
29
-
To set up the CodeQL model editor, you need to be using CodeQL for VS Code 1.8.7 or later with the following settings:
29
+
To set up the CodeQL model editor, you need to be using CodeQL for VS Code 1.8.12 or later with the following settings:
30
30
31
31
.. code-block:: json
32
32
33
-
"codeQL.canary": true,
33
+
{
34
+
"codeQL.canary": true,
34
35
"codeQL.model.editor": true,
36
+
"codeQL.runningQueries.useModelPacks": true,
37
+
}
35
38
36
-
CHECK THIS ^^^
39
+
CHECK THIS ^^^ - is canary still needed?
37
40
38
41
Open the user settings editor (JSON) using the command palette (Ctrl/Cmd+Shift+P) and using the command “Preferences: Open User Settings (JSON)”, add these two settings to the file.
39
42
40
43
If you want to test the CodeQL model packs you generate in VS Code then this setting is also required:
41
-
``"codeQL.runningQueries.useExtensionPacks": true`` CHECK THIS
42
-
43
-
WHAT DOES ``"codeQL.model.llmGeneration": true,`` do?
44
+
``"codeQL.runningQueries.useExtensionPacks": true`` CHECK THIS - should it be ``"codeQL.runningQueries.useModelPacks": true``
0 commit comments