An IntelliJ plugin for coala. coala provides a unified interface for linting and fixing code with a single configuration file, regardless of the programming languages used. The same power of coala now in IntelliJ IDEs.
- Install
coala Code Analysis
plugin from official Jetbrains Plugin repository - Go to
File > Settings > coala
and set coala executable location - Create a coala configuration file (
.coafile
) in project's root - Click on
Analyze with coala
menu-entry underAnalyze
menu to run coala. Alternatively,right-click
in an opened editor and click onAnalyze with coala
Here is a small video demonstrating how to run the plugin
- Sections with tag
jetbrains
will be run by the plugin - Make sure the value of
files
parameter contains files that are a part of the current project, failure to do so may result in unexpected behaviour
- Import the project as a Gradle project
- Open Gradle toolbar and click on the refresh icon to Reimport All Gradle Projects
- We have pre-created Gradle run-configuration for you to run the plugin. Just select
coala Plugin
from run-configuration menu to run the plugin - IntelliJ logs are logged in
$PROJECT_DIR/build/idea-sandbox/system/log/idea.log
- Goto
Run > Edit Configurations
- Click on
Add new configuration
plus icon and selectGradle
and enter a unique name - Under
Configurations
tab, select current project asGradle project
and setTask
as:runIde
- Under
Logs
tab, click on+
icon, enter anyAlias
and as the location specify$PROJECT_DIR/build/idea-sandbox/system/log/idea.log
Please use our issue tracker for reporting coala Jetbrains issues.
While creating a new issue, mention your system information, the version of plugin you are working with and the exact steps taken to reproduce the problem and if possible attach the stacktrace aswell.