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 Analysisplugin from official Jetbrains Plugin repository - Go to
File > Settings > coalaand set coala executable location - Create a coala configuration file (
.coafile) in project's root - Click on
Analyze with coalamenu-entry underAnalyzemenu to run coala. Alternatively,right-clickin an opened editor and click onAnalyze with coala
Here is a small video demonstrating how to run the plugin
- Sections with tag
jetbrainswill be run by the plugin - Make sure the value of
filesparameter 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 Pluginfrom 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 configurationplus icon and selectGradleand enter a unique name - Under
Configurationstab, select current project asGradle projectand setTaskas:runIde - Under
Logstab, click on+icon, enter anyAliasand 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.