Skip to content

Berkeley-CS61B/intellij-plugin

Repository files navigation

CS 61B Plugin

Build Version Downloads

Plugin for CS 61B at UC Berkeley. Includes a style checker (Checkstyle). This plugin no longer includes the Java Visualizer: it has been split off into a separate plugin: https://plugins.jetbrains.com/plugin/11512-java-visualizer

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "CS 61B" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Updating style checker

  1. Add the cs61b__checks.xml file in the style_config folder.
  2. For suppressions, add the cs61b__suppressions.xml file in the style_config folder.
  3. Add the semester's config line in index.txt. The line should have the format (regex for current semester)<tab character>(checks xml)<tab character>(suppressions xml)
  4. Update the plugin version in gradle.properties
  5. Update the Change Notes under "[Unreleased]"

Plugin based on the IntelliJ Platform Plugin Template.