CodeQL for Eclipse is a plugin that allows you to write and run CodeQL queries locally in your IDE. These topics explain how to run custom queries on CodeQL databases using the CodeQL for Eclipse plugin.
LGTM for Eclipse is a separate plugin for downloading alerts from LGTM, so that you can fix them easily in your IDE. For more information about this plugin, see IDE integration for LGTM.
You may also analyze databases downloaded from LGTM.com, if they are compatible with your version of the
If you already have Eclipse installed, you can install CodeQL for Eclipse as a plugin. If you don't have Eclipse installed, you can either:
- Install the standalone version of CodeQL for Eclipse (available for Windows, Linux, and macOS).
- Install Eclipse (available from https://www.eclipse.org/downloads), and then install the CodeQL for Eclipse plugin.
For a summary of useful Eclipse commands, see Eclipse tips for new users.