Peephole Eclipse Plugin

Copyright © 2004 Stoney Jackson, <hjackson@wnec.edu>

Distributed under the LGPL

 

Contents

 

edu.ucdavis.pp_1.2.0.zip – Contains the deployable plugin. See Installing below.

 

edu.ucdavis.pp_1.2.0_workspace.tar.bz2 – Contains the pluginÕs source in the form of an Ecilpse workspace.

Installing

Extract edu.ucdavis.pp_1.2.0.zip into your EclipseÕs instillation directory. It will create the following:

 

features/edu.ucdavis.pp_1.2.0
features/edu.ucdavis.pp_1.2.0/feature.xml
plugins/edu.ucdavis.pp_1.2.0.jar

 

Uninstalling

Remove the folders and files created by unzipping edu.ucdavis.pp_1.2.0.zip. Do not delete the features and plugins directories. These are part of Eclipse.

 

Using

Using the Peephole Pretty Printer to View Code

 

Please remember this is experimental code. I recommend first using it on code you donÕt care much about.

 

   1. Open a Java project.

   2. Right-click on a Java file -> Open with -> PP Editor

 

Resize your window or change your font size as much as you like. Pretty printing will be suspended if you modify the code until you save it and it compiles properly.