Jindent 4.0.8 released
Java formatter:
Bugfixes:Jindent license checker:
- Line wrapping settings
always
,if line exceeds
andnever
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;
Bugfix:Jindent customizer:
- Single user license keys bound to a login name containing whitespaces did not work properly. This is fixed now.
New feature:Jindent console application:
Bugfixes:
- Added more setting constraints to the GUI.
- Improved splitpane handling for messages in preview components.
- Environment variables
fileName
andfullFileName
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.
Bugfixes:Jindent Eclipse plugin:
- 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.
New feature:Jindent Netbeans plugin:
Bugfixes:
- Added Jindent command for shortkey assignment to invoke Jindent easily from editor window.
- 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.
Released new Jindent plugins for the final version of Netbeans 5.0 and Netbeans 5.5:Jindent JDeveloper plugin:
- 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.
Released new Jindent plugin for the final version of JDeveloper 10.1.3:Jindent IntelliJ IDEA plugins:
- 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.
Released new Jindent plugin for IntelliJ IDEA 6.0:Bugfixes in all plugin versions:
- 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.
- 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.