IDE integration for LGTM
There are two types of IDE integration available with LGTM:
- To download alerts from LGTM, and fix them directly in your IDE, use the LGTM plugins.
- To write and run QL queries locally in your IDE, and see results directly in your workspace, use the QL plugins.
Viewing alerts in your browser is useful, but it's better to have the information available in your IDE when you edit code.
The LGTM IDE plugins make it easy to view and fix existing problems as you're editing code. We offer the LGTM plugins/extension for Eclipse, IntelliJ and Visual Studio.
Visual Studio extension
About the IDE plugins
Each IDE plugin is easy to configure to download alerts for one or more projects. By default, alerts are automatically refreshed with the latest information from LGTM when new data is available.
|LGTM for Eclipse||Eclipse current version, or one of the two previous major versions|
|LGTM for IntelliJ||IntelliJ version 14.0|
|LGTM for Visual Studio||Visual Studio 2013, 2015, and 2017|
The plugins support all the languages that can be analyzed by LGTM Enterprise.
Contact your local LGTM administrator if you want to install one or more LGTM plugins.
There are two QL plugins available: QL for Eclipse and QL for Visual Studio. With these plugins, you can write your own semantic code analysis using the QL query language in your Eclipse or Visual Studio IDE, respectively.
For more information on the QL plugins, see Running queries in your IDE.
Contact your local LGTM administrator if you want to install either of the QL plugins.
For details on the LGTM plugins, open LGTM Enterprise, search for "plugin" and filter results to show topics in the embedded help.