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
1. Click the green "Code" button > Codespaces > Create a codespace on main. A new codespace will be created for you with VS Code CodeQL extension preinstalled.
3
-
2. When the codespace finishes setting up, open the terminal, and find the path to the codeql binary (which comes preinstalled with the VS Code CodeQL extension) with the command:
4
-
```bash
5
-
find ~ -type f -name codeql -executable 2>/dev/null
This will install the CodeQL library files required to run the CodeQL queries.
3
+
2. When the codespace finishes setting up, press `Ctrl/CMD + Shift + P` and type `CodeQL: Install Pack Dependencies`. Choose the queries you are interested in from the dropdown and press `OK`. This will install the CodeQL library files required to run the CodeQL queries.
17
4
4. Press `Ctrl/Cmd + Shift + R` to reload the window to see syntax highlighting etc.
18
5
5. Check the README in the folder with the query you are interested in, and add the database listed in the README to your VS Code CodeQL extension.
19
6
6. Open the query file you are interested in, right-click and choose `CodeQL: Run Query on selected database` from the dropdowns.
0 commit comments