What's new in this version

This page lists the recent updates to the extension.

For information about how to upgrade, see Upgrading and updating CodeQL for VS.


CodeQL for Visual Studio can be used to analyze databases downloaded from LGTM Enterprise or generated using compatible versions of command-line tools. The new CodeQL extension for Visual Studio Code supports analyzing these databases and also databases downloaded from LGTM.com. You can install the CodeQL extension for Visual Studio Code from the Visual Studio Code marketplace. For more information on database compatibility, see Database compatibility.

Changes in version 1.23

  • The extension has been renamed from "QL for Visual Studio" to "CodeQL for Visual Studio." For more information about the CodeQL product, see Introducing CodeQL.
  • As of November 2019, "snapshots" have been renamed "CodeQL databases." The QL command-line tools (odasa) that were previously used to create snapshots have been superseded by a more streamlined tool—the CodeQL CLI. CodeQL databases created with this new CLI are not directly compatible with CodeQL for VS, but you can run an additional command to convert them into the appropriate form. For more information, see the Database compatibility notes in the CodeQL help. You can still download and use CodeQL databases from LGTM as normal.
  • CodeQL for Visual Studio version 1.23 also includes improvements to the standard CodeQL libraries and queries. For detailed information about these changes, see QL analysis 1.23 on the Semmle public wiki.
  • 1.23 is the last release to contain support for analyzing COBOL. Future releases, starting with 1.24, will no longer contain support for analyzing COBOL source code. We are not aware of any customers who will be affected by this change. If you do have any concerns, please contact your account manager.