News

Jindent 4.2.1 released

on .

Java Formatter:
Bugfixes:
  • import declarations containing class names with underscores _ threw parse errors This is fixed.
  • Fixed JavaDoc completion bug for generic methods containing a void return type.


C/C++ Formatter:
Bugfixes:
  • Improved blank line handling before/after and inside #if, #else and #endif directives.
  • Fixed a grammar bug for short notation of String concatenations with constants like: value = MY_STRING_A MY_STRING_B;
  • Fixed parse error for 64-bit constants like: 1000000000000000ULL
  • Fixed indentation of braces { ... } for nested blocks of array initializers.
  • Fixed a grammar bug for the typename keyword in variable declarations.
  • Ternary conditions used as direct statements: condition ? callFunctionA() : callFunctionB(); threw parse error. This is fixed.
  • Improved comment handling inside array initializers.
  • Insertion of braces { ... } into single for, while, do-while and if-else statements combined with preprocessor directives could create an inconsistence output. This is fixed.
  • Insertion of parentheses ( ... ) into ternary expressions combined with preprocessor directives could create an inconsistence output. This is fixed.


Jindent Customizer:
Bugfixes:
  • Fixed preview files of the whites spaces section of the C/C++ formatter.

Jindent 4.2.0 released

on .

Java Formatter:
New features:
  • Added support for the new Java 7 language features:
    • Binary literals
    • Underscores in binary and numeric literals
    • Strings in switch statements
    • Type inference for generic instance creation (diamond)
    • The try-with-resources statement
    • Catching multiple exception types
  • Added support for reading UTF-8 encoded source files with bom.


C/C++ Formatter:
New features:
  • Completely new support for preprocessor directives, especially for #if #else directives. Jindent is now able to handle all kind of complex #if #else combinations.
  • Added some new blank line settings to control preprocessor directives.
  • Added support for reading UTF-8 encoded source files with bom.
Bugfixes:
  • Fixed a lot of grammar issues.


Jindent Customizer:
Bugfixes:
  • Modifying of input/output encoding did not work properly. Encoding was sometimes changed back to default system encoding. This is fixed.


Jindent Netbeans Plugin:
Added new support for Netbeans 7


Jindent Eclipse:
Added new support for Eclipse 3.7

Jindent 4.1.1 released

on .

C/C++ Formatter:
New features:
  • Added new detailed blank line settings to control preprocessor directives.
  • Added new whitespace settings.
  • Added new line wrapping settings.
  • Added formatting option to put each enum constant in a new line.
  • Added new exception rule to skip formatting of specific comments.
Bugfixes:
  • Fixed alignment of comments for closing braces.
  • Fixed a lot of grammar issues.
  • Fixed some blank line formatting issues regarding preprocessor directives.
  • Multiple header block comments in one source file were not formatted correctly. This is fixed.


Java Formatter:
New features:
  • Added formatting option to put each enum constant in a new line.
  • Added new exception rule to skip formatting of specific comments.
Bugfixes:
  • Fixed alignment of comments for closing braces.
  • Multiple header block comments in one source file were not formatted correctly. This is fixed.


Jindent Console Application:
Bugfixes:
  • Fixed -copy of resources feature for Jindent command line tool.


Jindent Customizer:
Bugfixes:
  • Improved grouping of white space settings.


Jindent Eclipse Plugin:
Bugfixes:
  • Jindent's preferences preview dialog caused a GUI deadlock on Java 5 used on Windows 7 and Ubuntu. The preview screen is now embedded.


Jindent IntelliJ IDEA Plugin:
Added new support for IntelliJ IDEA 10.0

Jindent 4.1.0 released

on .

C/C++ Formatter:
New features:
  • C/C++ language support
  • Handling of most preprocessor directives
  • Intelligent line wrapping
  • Indentation
  • Brace style transformation
  • Uniform white space conventions
  • Header and footer templates
  • Comment formatting and elimination
  • Tabular code alignment and justification
  • Code separation
  • Text variables
  • Conversion between unicode and a number of other character encodings
  • Batch processing
  • Open API
  • Support by all Jindent IDE plugins


Java Formatter:
New feature:
  • Added separated blank line control for all branch-statements return, throw, continue, break.
Bugfixes:
  • Fixed GUI refreshing problem with encoding settings.
  • Fixed wrap before/after bug for shift << >> operators.
  • Enum declarations without any constants caused a parser error. This is fixed.


Jindent Commander:
New feature:
  • Added combo box to select encoding for source code preview.
Bugfixes:
  • Fixed sorting of files and directories in file navigator view. All directories will be displayed first now.


Jindent Netbeans Plugin:
Bugfixes:
  • Jindent plugin caused deadlocks with Netbeans' refactoring functions. This is fixed now.


Jindent Eclipse Plugin:
Bugfixes:
  • Fixed some minor bugs with Format-On-Open and Format-On-Save events.


JavaHelp System:
New feature:
  • Added shortcuts in Jindent's customizer to open manual in JavaHelp system.

Jindent 4.0.13 released

on .

Java Formatter:
New features:
  • Added new formatting setting to control line wrapping of for-each statements.
Bugfixes:
  • On IBM JREs Jindent was not able to save its settings file correctly. This is fixed.
  • Using Jindent switch //J- causes Jindent to preserve line wrapping of wrong source code chunks. This is fixed.
  • Jindent's license checker was not able to recognize license files for login names containing characters like # & ?. This is fixed now.
  • Importing of Jindent settings file threw error Cannot import Jindent settings from version 4.2. This is fixed.
  • Jindent was not able too recognize comments formatted like: /** ... *//* ... */ correctly. This is fixed.
Jindent Eclipse plugin:
Bugfixes:
  • GUI of Oracle Workshop for Weblogic 10.3 hangs while registering a new license key. This is fixed.
  • Formatting of external Java files threw error. This is fixed now.
Jindent Netbeans plugin:
Released new Jindent plugin for Netbeans 6.8 and 6.9M1:
  • 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.
  • 'Format On Save' support.
  • 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.
Bugfixes:
  • Enabling of 'Format On Save' did not work correctly. This is fixed now.
  • Fixed bug for creating warning message that Java files generated by Netbeans GUI builder cannot be formatted.
Jindent IntelliJ IDEA plugin:
Released new Jindent plugins for IntelliJ IDEA 9.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 JBuilder 2008 plugin:
Added support for new Jindent plugin for JBuilder 2008:
  • 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.
  • 'Format On Save' support.
  • 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.
Bugfixes:
  • Enabling of 'Format On Save' did not work correctly. This is fixed now.
  • Fixed bug for creating warning message that Java files generated by Netbeans GUI builder cannot be formatted.