Semmle 1.23
Skip to end of metadata
Go to start of metadata

The CodeQL plugins and extensions allow you to write and run queries locally in your IDE. They can be used to analyze CodeQL databases downloaded from LGTM or created using QL command-line tools. 

This topic describes the products previously known as "QL for Eclipse" and "QL for Visual Studio" (now called CodeQL). There is also a new CodeQL extension available for VS Code, which we recommend you use instead. For more information about the CodeQL extension for VS Code, see https://help.semmle.com/codeql/codeql-for-vscode.html.

Key features include:

  • Autocompletion and jump to definition for CodeQL types, predicates, and modules.

  • Easy access to standard CodeQL libraries and database schemas.

  • CodeQL program validation, compilation, and execution against a database.
  • Results display including jumping to relevant locations in the source code archive of the CodeQL database.

  • History view of past queries which have been run, facilitating query development.

 

If you want to try out CodeQL before installing CodeQL for Eclipse or CodeQL for Visual Studio, you can use the query console at LGTM.com .

To learn more about the QL language, and how to write your own queries, visit help.semmle.com.

Getting started with CodeQL for Eclipse

CodeQL for Eclipse (formerly known as "Semmle Studio") is a plugin available for use within the Eclipse IDE environment. There are two versions available:

  • A freely-available version for querying databases of open source projects downloaded from LGTM.com

  • A licensed version for querying databases downloaded from LGTM Enterprise or created using QL command-line tools (odasa).

The following installation options are available: 

CodeQL for Eclipse pluginCodeQL for Eclipse standalone

Ideal for people who already use Eclipse

See:

Ideal for people who don't have Eclipse installed

See:

For more information about using CodeQL for Eclipse, see the CodeQL for Eclipse help.

Getting started with CodeQL for Visual Studio

CodeQL for Visual Studio is an extension available for use within the Microsoft Visual Studio IDE environment as a VSIX installer. Currently, this extension is available only as a licensed version.

For installation instructions, see Installing CodeQL for Visual Studio.

For more information about using CodeQL for Visual Studio, see the CodeQL for Visual Studio help.

  • No labels