Skip to content

Commit 17ebf86

Browse files
Merge pull request #4 from github/elena/set-current-database
Set current database automatically
2 parents ecef0d6 + 7303f0f commit 17ebf86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.tours/codeql-tutorial.tour

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
},
1313
{
1414
"directory": "codeql-tutorial-database",
15-
"description": "To run a CodeQL query, we need to select a CodeQL database.\n\nWe have prepared a sample database for you to use in this tutorial.\nLook for the `codeql-tutorial-database` directory highlighted in the Explorer view in your left sidebar.\n\nTo select this as your current database, right-click on the directory, and click `CodeQL: Set Current Database`. Click `Next` when you have done that."
15+
"description": "To run a CodeQL query, we need to select a CodeQL database.\n\nWe have prepared a sample database for you to use in this tutorial.\nLook for the `codeql-tutorial-database` directory highlighted in the Explorer view in your left sidebar.\n\nWe have selected this as your current database. You can see this is selected by going to the CodeQL extension and checking that `codeql-tutorial-database` is present in the `Databases` panel. From here you are able to select a different database by right-clicking on it and choosing `Set Current Database`.",
16+
"commands": ["codeQL.setDefaultTourDatabase"]
1617
},
1718
{
1819
"file": "tutorial-queries/tutorial.ql",

0 commit comments

Comments
 (0)