Jindent - Source Code Formatter for Java/C/C++ - plugin detail

Jindent is a powerful source code formatter for Java/C/C++.

NetBeans Plugin - Jindent - Source Code Formatter for Java/C/C++
Plugin owner: tandree
Website: http://www.jindent.com
Added: 2011-04-26
License: Commercial
Category: Editing
Downloaded: 5,329 times
Rating:
 4.53, by 3 users

Plugin Log Show log

Versions available

Download plugin   Download size: 6.08 MB   Last Update: 2012-01-12

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Jindent 4.2.3:

Java Formatter:
Bugfixes:
  • Jindent's Java formatter complained about a missing blank line setting: Cannot find setting: java.doNotInsertBlankLinesBeforeFirstLineComments. This is fixed.


Jindent 4.2.2:

C/C++ Formatter:
New features:
  • Added support for alignment of parameter declarations which are always wrapped to a new line.
  • Added exception rule to suppress insertion of blank lines for comments appearing in the first line of source code. That way 3rd party tools using these special first line comments won't be confused by extra blank line insertions anymore.
Bugfixes:
  • Added grammar support for struct and union inside function declarations.
  • Fixed grammar issue for function definitions within parameters: void myFunction( int (*f)(const char * pArg) ) { ... }
  • Fixed grammar issue for declaration specifiers in type definitions like: typedef unsigned __int64 myUint64_t;
  • Fixed grammar issue for macro definitions appearing in class specifiers.
  • Fixed grammar issue for hexadecimal escaping in characters, for instance: char ch = '\x0C'.
  • Fixed grammar issue for recognition of local variables.
  • Fixed extra blank line insertion bug for keyword LOCAL.


Jindent Customizer:
Bugfixes:
  • Fixed support for Java 7:
    • ClassCastException was thrown under Java 7 Runtime Environment. This is fixed.
    • Preview of line wrapping features were messed up. This is fixed too.


Jindent 4.2.1:

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:

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 comp

    Verifications for NetBeans versions

    7.1 verification PASSED See verification details
Download plugin   Download size: 6.08 MB   Last Update: 2012-01-12

What's new in this version

Jindent 4.2.3:

Java Formatter:
Bugfixes:
  • Jindent's Java formatter complained about a missing blank line setting: Cannot find setting: java.doNotInsertBlankLinesBeforeFirstLineComments. This is fixed.


Jindent 4.2.2:

C/C++ Formatter:
New features:
  • Added support for alignment of parameter declarations which are always wrapped to a new line.
  • Added exception rule to suppress insertion of blank lines for comments appearing in the first line of source code. That way 3rd party tools using these special first line comments won't be confused by extra blank line insertions anymore.
Bugfixes:
  • Added grammar support for struct and union inside function declarations.
  • Fixed grammar issue for function definitions within parameters: void myFunction( int (*f)(const char * pArg) ) { ... }
  • Fixed grammar issue for declaration specifiers in type definitions like: typedef unsigned __int64 myUint64_t;
  • Fixed grammar issue for macro definitions appearing in class specifiers.
  • Fixed grammar issue for hexadecimal escaping in characters, for instance: char ch = '\x0C'.
  • Fixed grammar issue for recognition of local variables.
  • Fixed extra blank line insertion bug for keyword LOCAL.


Jindent Customizer:
Bugfixes:
  • Fixed support for Java 7:
    • ClassCastException was thrown under Java 7 Runtime Environment. This is fixed.
    • Preview of line wrapping features were messed up. This is fixed too.


Jindent 4.2.1:

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:

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 comp

    Verifications for NetBeans versions

    Plugin is not subject to any verification



Introduction

Jindent is a powerful source code formatter for Java and C/C++. Jindent empowers you to transform any foreign Java/C/C++ source code to meet your preferred coding style or any common Java code convention.

[ You have to be logged in to be able to comment. ]

User Comments

  

ldkljdjj


Posted by salajka on May 30, 2011
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo