Skip to content

Commit 931cc73

Browse files
author
james
committed
docs: add brief instructions for using databases in VS Code
1 parent 24857e5 commit 931cc73

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

docs/language/ql-training/_static-training/slides-semmle-2/static/theme/css/default.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,6 +1667,15 @@ li > ul > li {
16671667
margin-bottom: 0;
16681668
}
16691669

1670+
.admonition.note ol {
1671+
width: 90%;
1672+
margin-left: 2.2em;
1673+
}
1674+
1675+
.admonition.note ol > li {
1676+
margin-top: 0.5em;
1677+
}
1678+
16701679
/*
16711680
* extra styles for more appropriate for syntax highlighting
16721681
*
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
Note that results generated in the query console are likely to differ to those generated in the QL plugin as LGTM.com analyzes the most recent revisions of each project that has been added–the CodeQL database available to download above is based on an historical version of the codebase.
1+
You can download the database as a zip file by clicking the link on the slide above. To use the database in CodeQL for Visual Studio Code:
2+
3+
#. Unzip the file
4+
#. Add the unzipped database to Visual Studio Code
5+
#. Upgrade the database if necessary
6+
7+
For further information, see `Using the extension <https://help.semmle.com/codeql/codeql-for-vscode/procedures/using-extension.html>`__ in the CodeQL for Visual Studio Code help.
8+
9+
Note that results generated in the query console are likely to differ to those generated in CodeQL for Visual Studio Code as LGTM.com analyzes the most recent revisions of each project that has been added–the CodeQL database available to download above is based on an historical version of the codebase.

0 commit comments

Comments
 (0)