Note: This documentation is for the legacy command-line tool odasa.
The final version was released in May 2020. Support for this tool expires in May 2021.

For documentation on the new generation CodeQL CLI, see CodeQL CLI .
In particular, you may find the Notes for legacy QL CLI users useful in planning your migration.

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 command-line tools, either the new CodeQL CLI or the older QL command-line tool (odasa). 

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. This is a licensed application.

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. This is a licensed application.

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