CodeQL installs statistics
By GitHub (15 listings) · VS Code Marketplace · Programming Languages
CodeQL for Visual Studio Code
CodeQL has 317,864 recorded installs on VS Code Marketplace, an increase of 1.0% over the past 30 days, ranking #1114 of 2,515 tracked listings.
Rating: 3.71 / 5 from 7 ratings
About CodeQL
CodeQL extension for Visual Studio Code
This project is an extension for Visual Studio Code that adds rich language support for CodeQL and allows you to easily find problems in codebases. In particular, the extension:
- Enables you to use CodeQL to query databases generated from source code.
- Shows the flow of data through the results of path queries, which is essential for triaging security results.
- Provides an easy way to run queries from the large, open source repository of CodeQL security queries.
- Adds IntelliSense to support you writing and editing your own CodeQL query and library files.
To see what has changed in the last few versions of the extension, see the Changelog.
You can also read full documentation for the extension on the GitHub documentation website.
Quick start overview
The information in this README file describes the quickest way to start using CodeQL.
For information about other configurations, see "Using the advanced functionality of the CodeQL for VS Code extension" in the GitHub documentation.
Quick start: Installing and configuring the extension
Quick start: Using CodeQL
<!-- markdownlint-disable-next-line MD024 -->
Quick start: Installing and configuring the extension
Installing the extension
The CodeQL extension requires a minimum of Visual Studio Code 1.39. Older versions are not supported.
- Install and open Visual Studio Code.
- Open the Extensions view (press Ctrl+Shift+X or Cmd+Shift+X).
- At the top of the Extensions view, type
CodeQLin the box labeled Search Extensions in Marketplace. - Locate the CodeQL extension and select Install. This will install the extension from the Visual Studio Marketplace.
Checking access to the CodeQL CLI
The extension uses the CodeQL CLI to compile and run queries. The extension automatically manages access to the CLI for you by default (recommended). To check for updates to the CodeQL CLI, you can use the CodeQL: Check for CLI Updates command.
If you want to override the default behavior and use a CodeQL CLI that's already on your machine, see "Configuring access to the CodeQL CLI" in the GitHub documentation.
If you have any difficulty with CodeQL CLI access, see the CodeQL Extension Log in the Output view for any error messages.
Cloning the CodeQL starter workspace
When you're working with CodeQL, you need access to the standard CodeQL libraries and queries.
Initially, we recommend that you clone and use the ready-to-use starter workspace.
This includes libraries and queries for the main supported languages, with folders set up ready for your custom queries. After cloning the workspace (use git clone --recursive), you can use it in the same way as any other VS Code workspace—with the added advantage that you can easily update the CodeQL libraries.
For information about configuring an existing workspace for CodeQL, see "Setting up a CodeQL workspace" in the GitHub documentation.
Upgrading CodeQL standard libraries
You can easily keep up-to-date with the latest changes to the CodeQL standard libraries.
If you're using the CodeQL starter workspace, you can pull in the latest standard libraries by running:
git pull
git submodule update --recursive
in the starter workspace directory.
If you're using your own clone of the CodeQL standard libraries, you can do a git pull from where you have the libraries checked out.
Quick start: Using CodeQL
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.
Importing a database from GitHub
While you can use the CodeQL CLI to create your own databases, the simplest way to start is by downloading a database from GitHub.com.
- Find a project that you're interested in on GitHub.com, for example Apache Kafka.
- Copy the link to that project, for example
https://github.com/apache/kafka. - In VS Code, open the Command Palette and choose the CodeQL: Download Database from GitHub command.
- Paste the link you copied earlier.
- Select the language for the database you want to download (only required if the project has databases for multiple languages).
- Once the CodeQL database has been imported, it is displayed in the Databases view.…
Description from the VS Code Marketplace listing.
- CodeQL
- dbscheme
- debuggers
- json
- ql
- ql-summary
- snippet
- xml
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Programming Languages plugins
All 20 CodeQL alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-codeql. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.