News

Jindent 4.0.12 released

on .

Java formatter:
Bugfixes:
  • Fixed annotation support for enum constants and package declarations.
  • Fixed multiple insertions of blank lines after headers if setting preserve blank lines is enabled.

Jindent Netbeans plugin:
Released new Jindent plugin for Netbeans 6.7:
  • Automatic installation through native installer.
  • Formatting menu item in editor's context menu.
  • Formatting menu item in file navigation's context menu.
  • Formatting of single files, directories, packages and whole projects.
  • Editor Undo for all formatting options.
  • Shows formatting progress bar.
  • Build in Jindent Customizer and preview for easy configuration of plugin.
  • Java Help support in plugin.
  • Show messages, warnings and errors in Netbeans console.
  • Click on messages and the according file opens up in editor window. Cursor is located on the source code line which is causing the message.

Jindent Eclipse plugin:
Added support for Eclipse 3.5.

IntelliJ IDEA plugin:
Added support for IntelliJ IDEA 8.1.

Jindent 4.0.11 released

on .

Java formatter:
New features:
  • Added new parameter templates for JavaDoc generation of classes and interfaces to support generics in JavaDocs
  • Added setting to put annotations always on new line.
  • Added support for padding braces of generics < >.
  • Added control for case-sensitivity of name sorting algorithms.
Bugfixes:
  • Default settings of header and footer smart mode values are set to infinite now. That way header and footer detection are disabled by default.
  • Fixed a bug which caused an error when using package names in annotations for method declarations.
  • Using annotations for annotation type declarations caused an error. This is fixed.

Jindent JDeveloper plugin:
Released new Jindent plugin for the final version of JDeveloper 11.1.1:
  • Automatic installation through native installer.
  • Formatting menu item in editor's context menu.
  • Formatting menu item in file navigation's context menu.
  • Formatting of single files, directories, packages and whole projects.
  • Undo for all formatting options.
  • Shows formatting progress bar.
  • Build in Jindent Customizer and preview for easy configuration of plugin.
  • Help On Click support in plugin.
  • Show messages, warnings and errors in JDeveloper console.
  • Click on messages and the according file opens up in editor window. Cursor is located on the source code line which is causing the message.


Jindent IntelliJ IDEA plugin:
Released new Jindent plugins for IntelliJ IDEA 8.0
  • Automatic installation through native installer.
  • Formatting menu item in editor's context menu.
  • Formatting menu item in file navigation's context menu.
  • Formatting of single files, directories, packages and whole projects.
  • Support for automatic optimizing imports.
  • Editor Undo for all formatting options.
  • Shows formatting progress bar.
  • Build in Jindent Customizer and preview for easy configuration of plugin.
  • Java Help support in plugin.
  • Show messages, warnings and errors in Netbeans console.
  • Click on messages and the according file opens up in editor window. Cursor is located on the source code line which is causing the message.

Jindent Netbeans plugin:
Released new Jindent plugin for Netbeans 6.5:
  • Automatic installation through native installer.
  • Formatting menu item in editor's context menu.
  • Formatting menu item in file navigation's context menu.
  • Formatting of single files, directories, packages and whole projects.
  • Editor Undo for all formatting options.
  • Shows formatting progress bar.
  • Build in Jindent Customizer and preview for easy configuration of plugin.
  • Java Help support in plugin.
  • Show messages, warnings and errors in Netbeans console.
  • Click on messages and the according file opens up in editor window. Cursor is located on the source code line which is causing the message.
New feature for all Netbeans plugin versions:
  • Added warning message that Java files generated by Netbeans GUI builder cannot be formatted.

Jindent Eclipse plugin:
New features:
  • Added support for optimizing imports before formatting.

Jindent 4.0.10 released

on .

Jindent installer:
Bugfix:
  • Directory file chooser for IDEs and Java tools is now able to shows hidden directories.

Java formatter:
Bugfix:
  • Fixed Java grammar file which causes a parsing error for field declarations and annotations inside of anonymous classes.
  • Added line wrapping support for expressions after colons in for-each loops.


Jindent Netbeans plugin:
Released new Jindent plugins for Netbeans 6.0
  • Automatic installation through native installer.
  • Formatting menu item in editor's context menu.
  • Formatting menu item in file navigation's context menu.
  • Formatting of single files, directories, packages and whole projects.
  • Editor Undo for all formatting options.
  • Shows formatting progress bar.
  • Build in Jindent Customizer and preview for easy configuration of plugin.
  • Java Help support in plugin.
  • Show messages, warnings and errors in Netbeans console.
  • Click on messages and the according file opens up in editor window. Cursor is located on the source code line which is causing the message.


Jindent IntelliJ IDEA plugin:
Released new Jindent plugins for IntelliJ IDEA 7.0
  • Automatic installation through native installer.
  • Formatting menu item in editor's context menu.
  • Formatting menu item in file navigation's context menu.
  • Formatting of single files, directories, packages and whole projects.
  • Editor Undo for all formatting options.
  • Shows formatting progress bar.
  • Build in Jindent Customizer and preview for easy configuration of plugin.
  • Java Help support in plugin.
  • Show messages, warnings and errors in Netbeans console.
  • Click on messages and the according file opens up in editor window. Cursor is located on the source code line which is causing the message.

Jindent 4.0.9 released

on .

Java formatter:
New features:
  • Added new settings to control blank lines after instance and static initalizers.
  • To handle bigger Java source files by default the initial Java heap space of native Jindent exe files and execution scripts is now set to 256MB.
Bugfixes:
  • Since Jindent version 4.0.8 a bug in Jindent's Java token manager slowed down formatting of big Java files and disabled recognition of empty method declarations. This is fixed now.
  • The XML Bean encoder of Java 6.0 has changed its policy to access getters of boolean bean properties. This affects Jindent's sorting tree elements and causes a partial loss of Jindent's configuration data while saving settings. This is fixed now.
  • In some special cases Jindent's alignment algorithm removed white spaces from nested ternary expressions. This is fixed now.
  • Outdent of commented out Java source code did still not work properly. This is finally fixed now.
  • Fixed a grammar bug for combinations of Annotations and final modifiers in parameter declarations of methods and constructors.
  • Saving of encoding settings did not work properly if selected encoding was the same as the system's default encoding. This is fixed.
  • Block comments beginning with an html tag like: /*<tag> ... were not recognized correctly. This is fixed.
  • Fixed some minor GUI layouting issues.
Java/SQLJ formatter:
Bugfixes:
  • Blank lines after SQLJ statements did not work. This is fixed now.
Jindent Eclipse plugin:
New features:
  • Added new feature to automatic format Java content after opening in Eclipse editor window and before saving Java content from editor window.
  • Since the JRE 1.5.0 Update 07 release Mac OS supports a proper AWT-SWT bridge. The Jindent plugin is now able to embed Jindent's preference panels into the Eclipse SWT GUI.

Jindent 4.0.8 released

on .

Java formatter:
Bugfixes:
  • Line wrapping settings always, if line exceeds and never had no effect for constructor and method call arguments used in variable and field declarations. This is fixed now.
  • First column JavaDocs were treated as first column comments. This is fixed.
  • Blank lines insertion for headers/footers did not work properly for some configurations. As a result unexpected blank lines could be inserted before/after headers and footers. This is fixed.
  • Improved Jindent default settings for header/footer handling.
  • Parse error occured in certain generic declarations used as return types in method declarations. This is fixed.
  • //J- //J+ code blocks could be messed up by sorting source code elements. This is fixed.
  • Setting Combine padding parentheses did not work properly for empty parentheses (). This is fixed.
  • Indent/outdent of commented out source code did not work properly for some block and end-of-line comments. This is fixed now.
  • Sorting and changing the order of initialized field declarations were not possible to avoid runtime side effects in Java code. Jindent is now able to detect field assignments to primitive values. The order of these fields can be changed without any expected different runtime behaviour.

    Before:
    // Assignments to primitive values
    int    c = 100 / 10;
    String b = "Hello World !";
    int[]  a = new int[]{ 1, 2, 3, 4 }; 

    Now:
    // Assignments to primitive values
    int[]  a = new int[]{ 1, 2, 3, 4 };
    String b = "Hello World !";
    int    c = 100 / 10; 
Jindent license checker:
Bugfix:
  • Single user license keys bound to a login name containing whitespaces did not work properly. This is fixed now.
Jindent customizer:
New feature:
  • Added more setting constraints to the GUI.
  • Improved splitpane handling for messages in preview components.
Bugfixes:
  • Environment variables fileName and fullFileName did not work properly in the source preview window of the Jindent customizer. This is fixed.
  • Improved previews for header/footer settings.
  • Saving of input/output encoding did not work properly. Encoding was always saved as default system encoding. This is fixed.
  • Fixed some typos in the GUI.
Jindent console application:
Bugfixes:
  • Added deprecated command line argument -noswing from Jindent 3.x to preserve backward compatibility in shell scripts.
  • Command line argument -s which is a shortcut for -set and -p had no effect. This is fixed now.
Jindent Eclipse plugin:
New feature:
  • Added Jindent command for shortkey assignment to invoke Jindent easily from editor window.
Bugfixes:
  • Jindent's preferences froze up on Linux OS. This is fixed now.
  • NullPointerException could be thrown if plugin lost focus on Java editor window. This is fixed.
  • Fixed some problems regarding MacOS detection and invocation of Jindent's customizer from the Eclipse preferences.
  • Recognition of internal Eclipse file encoding did not work properly. This is fixed.
  • Catching of SWT errors for JREs older than version 1.5 on Linux OS.
Jindent Netbeans plugin:
Released new Jindent plugins for the final version of Netbeans 5.0 and Netbeans 5.5:
  • Automatic installation through native installer.
  • Formatting menu item in editor's context menu.
  • Formatting menu item in file navigation's context menu.
  • Formatting of single files, directories, packages and whole projects.
  • Editor Undo for all formatting options.
  • Shows formatting progress bar.
  • Build in Jindent Customizer and preview for easy configuration of plugin.
  • Java Help support in plugin.
  • Show messages, warnings and errors in Netbeans console.
  • Click on messages and the according file opens up in editor window. Cursor is located on the source code line which is causing the message.
Jindent JDeveloper plugin:
Released new Jindent plugin for the final version of JDeveloper 10.1.3:
  • Automatic installation through native installer.
  • Formatting menu item in editor's context menu.
  • Formatting menu item in file navigation's context menu.
  • Formatting of single files, directories, packages and whole projects.
  • Undo for all formatting options.
  • Shows formatting progress bar.
  • Build in Jindent Customizer and preview for easy configuration of plugin.
  • Help On Click support in plugin.
  • Show messages, warnings and errors in JDeveloper console.
  • Click on messages and the according file opens up in editor window. Cursor is located on the source code line which is causing the message.
Jindent IntelliJ IDEA plugins:
Released new Jindent plugin for IntelliJ IDEA 6.0:
  • Automatic installation through native installer.
  • Formatting menu item in editor's context menu.
  • Formatting menu item in file navigation's context menu.
  • Formatting of single files, directories, packages and whole projects.
  • Undo for all formatting options.
  • Shows formatting progress bar.
  • Build in Jindent Customizer and preview for easy configuration of plugin.
  • Help On Click support in plugin.
  • Show messages, warnings and errors in JDeveloper console.
  • Click on messages and the according file opens up in editor window. Cursor is located on the source code line which is causing the message.
Bugfixes in all plugin versions:
  • Alignment of Customizer's preview window did not work properly for Windows XP look and feel. This is fixed.
  • Invoking Jindent on source code selections in editor windows messed up formatted output. This is fixed.