-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -201,6 +201,12 @@ version.) | |
|
||
## Writing custom queries | ||
|
||
{{< hint info >}} | ||
To use CodeQL, you need access to the standard libraries and queries. We recommend using the starter workspace. | ||
1. Clone the [vscode-codeql-starter](https://github.com/github/vscode-codeql-starter.git) repository to your computer: `git clone --recursive https://github.com/github/vscode-codeql-starter.git`. | ||
Check failure on line 206 in content/docs/static-analysis/codeql/10-advanced.md GitHub Actions / markdown-linterLine length
Check failure on line 206 in content/docs/static-analysis/codeql/10-advanced.md GitHub Actions / markdown-linterLists should be surrounded by blank lines
|
||
2. In VSCode, click **File** -> **Open Workspace from File** and open the `vscode-codeql-starter.code-workspace` file from the `vscode-codeql-starter` repository. | ||
Check failure on line 207 in content/docs/static-analysis/codeql/10-advanced.md GitHub Actions / markdown-linterLine length
|
||
{{< /hint >}} | ||
|
||
QL is a declarative language and CodeQL queries are expressed using an SQL-like | ||
syntax on the following form: | ||
|
||
|