

Initially, we recommend that you clone and use the ready-to-use starter workspace. When you're working with CodeQL, you need access to the standard CodeQL libraries and queries. If you have any difficulty with CodeQL CLI access, see the CodeQL Extension Log in the Output view for any error messages. 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. To check for updates to the CodeQL CLI, you can use the CodeQL: Check for CLI Updates command. The extension automatically manages access to the CLI for you by default (recommended).

The extension uses the CodeQL CLI to compile and run queries. This will install the extension from the Visual Studio Marketplace. Locate the CodeQL extension and select Install.At the top of the Extensions view, type CodeQL in the box labeled Search Extensions in Marketplace.Open the Extensions view (press Ctrl+Shift+X or Cmd+Shift+X).The CodeQL extension requires a minimum of Visual Studio Code 1.39.

Quick start: Installing and configuring the extension Installing the extension Quick start: Installing and configuring the extension

The information in this README file describes the quickest way to start using CodeQL.įor information about other configurations, see the separate CodeQL help. To see what has changed in the last few versions of the extension, see the Changelog.
