Skip to main content

Enterprise Server 3.15 is currently available as a release candidate.

Getting started with the CodeQL for Visual Studio Code extension

The CodeQL extension for Visual Studio Code makes it easy to run a query to find problems in codebases.

Who can use this feature?

CodeQL is available for the following repository types:

About CodeQL for VS Code

You can write, run, and test CodeQL queries inside Visual Studio Code with the CodeQL extension.

Installing CodeQL for Visual Studio Code

To get started with CodeQL for Visual Studio Code, you need to install and set up the extension.

Managing CodeQL databases

You can work with CodeQL databases using the extension.

Running CodeQL queries

You can run queries on CodeQL databases and view the results in Visual Studio Code.

Exploring data flow with path queries

You can run CodeQL queries in Visual Studio Code to help you track the flow of data through a program, highlighting areas that are potential security vulnerabilities.