| Mar | APR | May |
| 19 | ||
| 2020 | 2021 | 2022 |
COLLECTED BY
Collection: github.com
Update CodeQL submodule1f766ae
vscode-codeql repo.
git clone --recursive or by git submodule update --init --remote after clone.
●Use git submodule update --remote regularly to keep the submodules up to date.
(四)In VS Code, click File > Open Workspace. Select the file vscode-codeql-starter.code-workspace in your checkout of this repository.
(五)You will see several folders open in the left sidebar:
●The qlfolder contains the open-source CodeQL standard libraries for C/C++, C#, Java, JavaScript, and Python. It tracks the lgtm.com branch. You can run the standard queries from here, and browse the libraries.
●The codeql-go folder contains the open-source CodeQL standard libraries for Go. It tracks the lgtm.com branch. You can run the standard queries from here, and browse the libraries.
●The folders named codeql-custom-queries-<language> are ready for you to start developing your own custom queries for each language, while using the standard libraries. There are some example queries to get you started.
(六)Follow the documentation for the CodeQL extension to learn how to set up the extension, add a database and run queries against it. Have fun!
vscode-codeql-starter in a private repository
git clone git@github.com:github/vscode-codeql-starter.git
(三)Add a remote to the local copy git remote add my-org git@github.com:<MY-ORG>/vscode-codeql-starter.git
(四)Push the code to the new remote: git push my-org master
GitHub does not allow private forks of public repositories.
vscode-codeql repo.