Skip to content

Commit 165f395

Browse files
authored
Update README.md
Include instructions about how to update libraries
1 parent 038e0a3 commit 165f395

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

extensions/ql-vscode/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ This includes libraries and queries for the main supported languages, with folde
5454

5555
For information about configuring an existing workspace for CodeQL, [see the documentation](https://help.semmle.com/codeql/codeql-for-vscode/procedures/setting-up.html#updating-an-existing-workspace-for-codeql).
5656

57+
## Upgrading CodeQL Libraries
58+
59+
You can easily keep up-to-date with the latest developments to the [CodeQL standard libraries](https://github.com/github/codeql).
60+
61+
If you're using the CodeQL starter workspace, you can do
62+
```shell
63+
$ git pull
64+
$ git submodule update --recursive
65+
```
66+
in the starter workspace directory.
67+
68+
If you're using your own clone of the CodeQL standard libraries, you can do a `git pull` from where you have the libraries checked out.
69+
5770
## Quick start: Using CodeQL
5871

5972
You can find all the commands contributed by the extension in the Command Palette (**Ctrl+Shift+P** or **Cmd+Shift+P**) by typing `CodeQL`, many of them are also accessible through the interface, and via keyboard shortcuts.

0 commit comments

Comments
 (0)