|
12 | 12 | }, |
13 | 13 | { |
14 | 14 | "directory": ".tours/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\nWe have selected this as your current 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. We have selected this as your current database.", |
16 | 16 | "commands": [ |
17 | 17 | "codeQL.setDefaultTourDatabase" |
18 | 18 | ], |
19 | 19 | "title": "Your first database" |
20 | 20 | }, |
21 | 21 | { |
22 | 22 | "title": "Extension", |
23 | | - "description": "It's time to check out the extension!\n\nIn the CodeQL view, you can see that the 'CodeQL Tutorial Database' is present in the 'Databases' panel and selected with a check mark.", |
| 23 | + "description": "It's time to check out the extension!\n\nIn the CodeQL view, you can see that the 'CodeQL Tutorial Database' is present in the 'Databases' panel and is selected with a check mark.", |
24 | 24 | "view": "codeQLDatabases" |
25 | 25 | }, |
26 | 26 | { |
27 | 27 | "file": "tutorial-queries/tutorial.ql", |
28 | | - "description": "This is a CodeQL query file.", |
| 28 | + "description": "Now let's look at a query.\n\nThis is a CodeQL query file. It has a `.ql` file extension.", |
29 | 29 | "line": 1, |
30 | 30 | "title": "Your first query" |
31 | 31 | }, |
|
70 | 70 | }, |
71 | 71 | { |
72 | 72 | "file": "tutorial-queries/tutorial.ql", |
73 | | - "description": "You can see a history of all run queries on the left side in the extension.", |
| 73 | + "description": "You can see a history of all run queries in the 'Query History' panel in the extension.", |
74 | 74 | "selection": { |
75 | 75 | "start": { |
76 | 76 | "line": 7, |
|
81 | 81 | "character": 1 |
82 | 82 | } |
83 | 83 | }, |
84 | | - "title": "Query history" |
| 84 | + "title": "Query history", |
| 85 | + "view": "codeQLQueryHistory" |
85 | 86 | }, |
86 | 87 | { |
87 | 88 | "file": "tutorial-queries/tutorial.ql", |
88 | | - "description": "To run queries by yourself, outside this tutorial:\n\n1. Right-click within a `.ql` query file, and click 'CodeQL: Run Query on Selected Database'\nOR\n1. Open the Command Palette with `Cmd/Ctrl+Shift+P`, start typing 'CodeQL', and click on 'CodeQL: Run Query on Selected Database'.", |
| 89 | + "description": "To run a query manually, outside this tutorial:\n\n1. Right-click within a `.ql` query file, and click 'CodeQL: Run Query on Selected Database'\nOR\n1. Open the Command Palette with `Cmd/Ctrl+Shift+P`, start typing 'CodeQL', and click 'CodeQL: Run Query on Selected Database'.", |
89 | 90 | "selection": { |
90 | 91 | "start": { |
91 | 92 | "line": 7, |
|
100 | 101 | }, |
101 | 102 | { |
102 | 103 | "file": "tutorial-queries/tutorial.ql", |
103 | | - "description": "It's time to add your own database! \n\nGo to the extension and use one of the top bar buttons. When you use the GitHub logo for example you can enter the repository name of your favorite open source repository.\nAfter the download has finished the Database will be automatically selected.", |
| 104 | + "description": "It's time to add your own database and analyze some real code!\n\nHover over the 'Databases' title bar and click 'Download Database from GitHub'. Enter the repository name of your favorite open source repository.\nAfter the download has finished, the database will be automatically selected.", |
104 | 105 | "selection": { |
105 | 106 | "start": { |
106 | 107 | "line": 7, |
|
111 | 112 | "character": 1 |
112 | 113 | } |
113 | 114 | }, |
114 | | - "title": "Add your own database" |
| 115 | + "title": "Add your own database", |
| 116 | + "view": "codeQLDatabases" |
115 | 117 | }, |
116 | 118 | { |
117 | 119 | "title": "CodeQL pack", |
118 | | - "description": "After adding a new database we create a new CodeQL Pack for you. \n\nThis loads all dependencies needed for the language of the database, and creates an example query that you can run and modify. Open `example.ql` inside the 'codeql-custom-queries-*' folder to get started.", |
| 120 | + "description": "After adding a database we create a new CodeQL pack for you.\n\nThis loads all dependencies needed for the language of the database, and creates an example query that you can run and modify. Open `example.ql` inside the 'codeql-custom-queries-*' folder to get started.", |
119 | 121 | "view": "explorer" |
120 | 122 | } |
121 | 123 | ] |
|
0 commit comments