Holds a prototype for a coala plugin for eclipse
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
com.coala.core.tests tests: Increase timeout Dec 28, 2016
com.coala.core
com.coala.feature README.md: Remove alternate install instructions Jun 3, 2016
com.coala.site README.md: Remove alternate install instructions Jun 3, 2016
export export: Update feature binary Dec 28, 2016
.coafile coafile: Ignore diff_match_patch.java Jun 25, 2016
.gitignore
.travis.yml .travis.yml: Use venv Jun 17, 2018
LICENSE
README.md README.md: Updated coala links Jun 6, 2017
pom.xml

README.md

coala for Eclipse

Build Status

This package offers a plugin for the Eclipse to use the code analysis software coala inside the IDE.

Installation

Drag to your running Eclipse workspace.

Drag the above button into your running Eclipse workspace and accept the terms to install.

If you're unable to view the button install the plug-in from the Eclipse Marketplace.

Build developmental version

mvn clean verify

Unistall

  1. In Eclipse go to Help-> Installation Details -> Installed Software.
  2. Select coala.
  3. Click uninstall.

Using the plug-in

The plug-in requires the coala binaries to be present on your system. If you haven't already installed coala you can read the installation instructions here.

There are two ways in which you can run coala from the Eclipse plug-in:

  • Using a coafile.
  • Manually selecting a bear to run the analysis with.

Running coala using a coafile

  1. Fire up Eclipse and open a file that you want to run the analysis on.

  2. Make sure you have configured the coafile. Learn more about that here.

  3. Click the coala button on the tool-bar.

  4. The plug-in will then run the analysis and display the results in the Problems pane.

Running coala by manually selecting the bear of your choice

  1. Fire up Eclipse and open a file that you want to run the analysis on.

  2. Right click anywhere inside the editor window to open the context menu.

  3. In the Run coala with push menu, select the the bear you wish to run.

  4. The plug-in will then run the analysis and display the results in the Problems pane.

Fixing issues returned after analysis

  1. After the analysis is complete and the issues are visible in the Problems pane, right-click an issue and select the Quick Fix option (Ctrl +1 keyboard shortcut).

  2. In the Quick Fix dialog, select the fix that you want to apply and click Finish.

  3. The issue will be fixed and no longer visible in the Problems pane.

License

AGPL