Skip to content

Commit c505996

Browse files
committed
Update README with new command for adding database
1 parent 6fdfade commit c505996

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

extensions/ql-vscode/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,11 @@ While you can use the [CodeQL CLI to create your own databases](https://help.sem
6666
1. Find a project you're interested in and display the **Integrations** tab (for example, [Apache Kafka](https://lgtm.com/projects/g/apache/kafka/ci/)).
6767
1. Scroll to the **CodeQL databases for local analysis** section at the bottom of the page.
6868
1. Download databases for the languages that you want to explore.
69-
1. Unzip the databases.
7069
1. For each database that you want to import:
71-
1. In the VS Code sidebar, go to **CodeQL** > **Databases** and click **+**.
72-
1. Browse to the unzipped database folder (the parent folder that contains `db-<language>` and `src`) and select **Choose database** to add it.
70+
1. Go to the CodeQL Databases view in the sidebar. Hover over the Databases title bar and click the icon to **Choose Database from Archive**.
71+
1. Browse to the zipped database that you downloaded from LGTM.
7372

74-
When the import is complete, each CodeQL database is displayed in the CodeQL sidebar under **Databases**.
73+
Once you've added a CodeQL database, it is displayed in the Databases view.
7574

7675
### Running a query
7776

0 commit comments

Comments
 (0)