Jindent 4.2.1 released
Java Formatter:
C/C++ Formatter:
Jindent Customizer:
Bugfixes:
importdeclarations containing class names with underscores_threw parse errors This is fixed.- Fixed JavaDoc completion bug for generic methods containing a
voidreturn type.
C/C++ Formatter:
Bugfixes:
- Improved blank line handling before/after and inside
#if,#elseand#endifdirectives.- 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
typenamekeyword 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 singlefor,while,do-whileandif-elsestatements 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.
