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
Copy file name to clipboardExpand all lines: extensions/ql-vscode/README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ For information about other configurations, see the separate [CodeQL help](https
22
22
23
23
### Quick start: Using CodeQL
24
24
25
-
1.[Import a database from LGTM](#importing-a-database-from-lgtm).
25
+
1.[Import a database from GitHub](#importing-a-database-from-github).
26
26
1.[Run a query](#running-a-query).
27
27
28
28
---
@@ -73,18 +73,19 @@ If you're using your own clone of the CodeQL standard libraries, you can do a `g
73
73
74
74
You can find all the commands contributed by the extension in the Command Palette (**Ctrl+Shift+P** or **Cmd+Shift+P**) by typing `CodeQL`, many of them are also accessible through the interface, and via keyboard shortcuts.
75
75
76
-
### Importing a database from LGTM
76
+
### Importing a database from GitHub
77
77
78
-
While you can use the [CodeQL CLI to create your own databases](https://codeql.github.com/docs/codeql-cli/creating-codeql-databases/), the simplest way to start is by downloading a database from LGTM.com.
78
+
While you can use the [CodeQL CLI to create your own databases](https://codeql.github.com/docs/codeql-cli/creating-codeql-databases/), the simplest way to start is by downloading a database from GitHub.com.
79
79
80
-
1. Open [LGTM.com](https://lgtm.com/#explore) in your browser.
81
-
1. Search for a project you're interested in, for example [Apache Kafka](https://lgtm.com/projects/g/apache/kafka).
82
-
1. Copy the link to that project, for example `https://lgtm.com/projects/g/apache/kafka`.
83
-
1. In VS Code, open the Command Palette and choose the **CodeQL: Download Database from LGTM** command.
80
+
1. Find a project that you're interested in on GitHub.com, for example [Apache Kafka](https://github.com/apache/kafka).
81
+
1. Copy the link to that project, for example `https://github.com/apache/kafka`.
82
+
1. In VS Code, open the Command Palette and choose the **CodeQL: Download Database from GitHub** command.
84
83
1. Paste the link you copied earlier.
85
84
1. Select the language for the database you want to download (only required if the project has databases for multiple languages).
86
85
1. Once the CodeQL database has been imported, it is displayed in the Databases view.
87
86
87
+
For more information, see [Choosing a database](https://codeql.github.com/docs/codeql-for-visual-studio-code/analyzing-your-projects/#choosing-a-database) on codeql.github.com.
88
+
88
89
### Running a query
89
90
90
91
The instructions below assume that you're using the CodeQL starter workspace, or that you've added the CodeQL libraries and queries repository to your workspace.
0 commit comments