Giter Site home page Giter Site logo

checkstyle4bluej's Introduction

checkstyle4bluej

Checkstyle Extension for BlueJ

This updates the BlueJ Checkstyle Extension (http://bluejcheckstyle.sourceforge.net) to work with BlueJ 4.1, Checkstyle 8.4, and Java 1.8.

The original author of the extension indicates a desire to rehost and maintain the project. (Update 20 March 2018: See https://sourceforge.net/p/bluejcheckstyle/code/ref/master/)

The intent of this repository is to tide over the user community until those activities can take place. Thus, minimal modifications to original sources, build process, and documentation have been made, as necessary to support the current environment.

Primary contributors to this updating effort were students enrolled in the Fall 2017 semester of CS4250, Software Engineering Principles, at Metropolitan State University of Denver.


Abbreviated Usage Instructions

Overview

The BlueJ Checkstyle Extension is a wrapper for BlueJ to use Checkstyle, a source code analysis tool to help programmers write Java code that adheres to a coding standard.

The user can choose the Checkstyle configuration file that specifies which checks are applied to the Java source code. The extension distribution includes sample configuration files for the Sun Code Conventions, course-specific configuration files used at Virginia Tech and Metro State Denver, and the Big Java Coding Guidelines.

Requirements

BlueJ 4.1.x running on JDK 8 (1.8.x) or higher.

Download

The update of the BlueJ Checkstyle extension can be downloaded from the GitHub repository using this direct link to the extension jar file.

Installation

  • Download the latest version of the extension jar file.

  • Place the jar file in BlueJ's extensions directory:

    • Under Windows or Unix, place the jar in <BLUEJ_HOME>/lib/extensions, where <BLUEJ_HOME> is the directory where BlueJ is installed.
    • Under Mac OSX, place the jar in /Applications/BlueJ.app/Contents/Resources/Java/extensions (control-click BlueJ.app and choose Show Package Contents) or in ~/Library/Preferences/org.bluej/extensions.
    • If you are upgrading from an earlier version, remove the older checkstyle-extension*.jar file from your extensions directory.

Usage

  • Open BlueJ.
  • To run a check on all files in the current package, choose Checkstyle from the Tools menu.

Setting User Preferences

  • The extension uses its built-in default_checks.xml file unless you specify a different configuration file in Preferences.

  • To specify the Checkstyle configuration file or properties file:

    • Choose Preferences... from the Tools menu (or from the BlueJ menu under Mac OSX).
    • In the Preferences panel, click on the Extensions tab.
    • In the "Checkstyle" section, enter the file name for the checkstyle configuration XML file and/or properties file you wish to use.
    • In addition to local file names, you can also use URLs in the preferences settings.
    • To use one of the built-in configuration files, simply enter one of these file names with no path or directory:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.