Author:  Chris Seguin Software
Release Notes
Download
Contributors

Previous Page

Software

Next Page

I've been developing some software which I would like to share with the Java community. The software is free, and I provide it as is. (If you use it and find any bugs, let me know. However, since I do this for the fun of it, so please don't expect a fix in a day.

A number of the tools described below are Elixir Plugins. The Elixir IDE is an excellent IDE. Since it is written in Java, and distributed in a jar file it is possible to extend the editor. This is what I have done for the pretty printer, microsoft's visual source safe, and Java 1.2 printing.

JBuilder uses a lot of memory but has a lot of features. The low end version is free, but if you are doing server side development, you really need the Professional or Enterprise versions. JRefactory and the pretty printer fully integrate with this tool. A couple of people have asked if JRefactory could be used from popup menus in the structure pane. It's in release 2.6.12!

NetBeans is viaing for the most popular IDE right now. Support for the pretty printer and the extract method refactoring are present in this release! Thanks to Jason Yip of Thoughtworks!

JDeveloper is a new entry into the IDE fray. There have been lots of requests for it, and I've tried the free version. It works pretty well. I might yet switch. JRefactory supports pretty printing inside JDeveloper. This was released in 2.6.38. Simple refactorings like extract method might be supplied soon.

JEdit is supported for pretty printing. Look for a plugin named "JavaStyle". Let me know if you want refactoring capabilities.

Visual Cafe is a good tool. I had a lot of bad luck with it though. (My hard disk has corrupted a couple of the DLLs and I can't run it any more.) JRefactory supports pretty printing and extracting methods for Visual Cafe.

Other editors are on the horizon. I'll either look at integrating with JEdit next. Visual Age for Java is the hardest, and if you know VA4J really well and can answer some questions, please e-mail me. Thanks!

Here is a list of tools that I've developed:

Pretty Printer/Beautifier is a tool that allows you to clean up the indenting and formatting of your java source code.

This tool has a powerful feature of being able to insert the appropriate javadoc comments so that the javadoc program does not generate error messages for missing fields. To simplify writing javadoc comments, some methods have javadoc comments automatically generated based on the name of the method.

JRefactory is a tool that allows you to perform the following refactorings:

  • Move class between packages (repackage)
  • Rename class
  • Add abstract parent class
  • Add child class
  • Remove empty class
  • Extract interface
  • Push up field
  • Push down field
  • (New!!) Rename Field
  • Push up method
  • Push up abstract method
  • Push down method
  • Move method
  • Extract method
  • (New!!) Rename Parameter

It updates other java source files as appropriate.

This tool comes as a command line option with GUI or without, and as a plugin for the JBuilder, NetBeans, and Elixir IDEs.

For JBuilder and Elixir you can now switch from the UML diagram to the source code.

Printing provides the ability to print UML diagrams and print text files. Printing includes line numbering and may include syntax highlighting.

Elixir Extensions provides the ability to check in/check out files from Microsoft's Visual Source Safe from inside Elixir.

Line Number Tool a command line program to format a number of java source code files and generate an output file with line numbers. It can also combine a number of files together, and keep the numbering scheme between files. I've found this useful for code reviews.

Metrics gathers metrics about your java source code.

Stub Generator creates a file that allows the refactory tool to display Java 1.2 library classes (or other applications where you have access to the source code, but you don't intend to change the source code). This facility is used for the refactoring tool to show classes from 3rd party vendors in the refactoring GUI.

Development Utilities are various development utilities that I use to create builds of these tools.

Previous Page

Last Modified: February 22, 2001

Previous Page