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 (
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.
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.
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 plugin||CodeQL for Eclipse standalone|
Ideal for people who already use Eclipse
Ideal for people who don't have Eclipse installed
For more information about using CodeQL for Eclipse, see the CodeQL for Eclipse help.
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.