CheckThread.org

Intellij Plug-In

STEP 1: Download Intellij Plugin

STEP 2: Install Intellij Plug-in

  • The CheckThread plug-in was developed and tested on Intellij 6.
  • Unzip the Intellij plug-in download into INTELLIJ/plugins/ where INTELLIJ is the directory containing your Intellij installation.
  • Alternatively, you can install Intellij plug-ins into your user profile plugins/ directory for Intellij. Consult your intellij documentation for the location.
  • Restart Intellij. Verify that you see the CheckThread icon on the toolbar (see screenshot below).

STEP 3: Import CheckThread Annotations

  • The checkthread-annotation.jar file is located in the /lib directory of the plug-in you just installed.
  • Import the checkthread-annotation jar file into your Java project. Do not remove this jar file from your unzipped plug-in directory. You can copy this jar file somewhere else if you wish.

STEP 4: Enable CheckThread

  • Enable CheckThread toggle button at the top of your Intellij toolbar.
  • CheckThread will run whenever Intellij builds your Java classes.
  • CheckThread errors will appear in the error strip to the right of the editor as well as listed within the message window as warnings.
  • If you don't want CheckThread to run at compile time, disable the CheckThread toggle button.
  • Test your installation on a simple Java class. Try using the simple Java class in the screen shot below.

The following is an Intellij screenshot showing the CheckThread plug-in enabled with a sample error being reported.

©2008 CheckThread