Skip to content

Commit 06e068b

Browse files
Merge pull request #14 from github/elena/small-fixes
Make the README match new flow of steps
2 parents 6877f7d + 56c8e06 commit 06e068b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# CodeQL metadata
22
.tours/codeql-tutorial-database/db-csv/default/cache/
3+
.tours/codeql-tutorial-database/db-csv/default/strings/
34
.cache/
5+

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ Once you've finished the code tour, your CodeQL environment will be all set up a
1818

1919
## Running simple CodeQL queries
2020

21-
You can use this codespace to learn about the concepts of CodeQL, without having to analyze any code. If you would like to use CodeQL to analyze your own projects, you can follow the instructions in [Setting up CodeQL in Visual Studio Code](https://codeql.github.com/docs/codeql-for-visual-studio-code/setting-up-codeql-in-visual-studio-code/) to set up your own CodeQL environment.
21+
You can use this codespace to learn about the concepts of CodeQL, without having to analyze any code. If you would like to use CodeQL to analyze your own projects, you can follow the instructions in [Setting up CodeQL in Visual Studio Code](https://codeql.github.com/docs/codeql-for-visual-studio-code/setting-up-codeql-in-visual-studio-code/) to set up your own CodeQL environment.
2222

2323
To run simple CodeQL queries in this codespace:
2424

25-
1. Right click on `codeql-tutorial-database` in the file explorer and select **CodeQL: Set Current Database**.
25+
1. Switch to the CodeQL extension on the left by clicking the QL logo.
26+
1. Make sure the `CodeQL Tutorial Database` is selected in the Databases section. If it's not, click the **Select** button next to its name.
2627
1. Edit the `tutorial.ql` file to write a CodeQL query.
27-
1. Once you've written your query, right-click within the `.ql` query file, and click **CodeQL: Run Query**, or
28-
1. Open the Command Palette with `Cmd/Ctrl + Shift + P`, start typing "CodeQL", and click on **CodeQL: Run Query**.
28+
1. Once you've written your query, right-click within the `.ql` query file, and click **CodeQL: Run Query on Selected Database**, or
29+
1. Open the Command Palette with `Cmd/Ctrl + Shift + P`, start typing "CodeQL", and click on **CodeQL: Run Query on Selected Database**.
2930

30-
## Further learning
31+
## Further learning
3132

3233
You can find [CodeQL tutorials](https://codeql.github.com/docs/writing-codeql-queries/ql-tutorials/) in our CodeQL documentation. The tutorials introduce concepts that you can use this codespace to practice.
3334

0 commit comments

Comments
 (0)