The NetBeans IDE is a fast and feature full tool for developing Java software.
It is standards compliant and runs on any operating system where a Java Virtual Machine is available.
The NetBeans IDE is open-source and can be downloaded from:
http://www.netbeans.org
Manual installation of Jindent's Netbeans module
If you have already used the Jindent installer to install the Jindent module for Netbeans then you can
skip this section.
If not please proceed the following steps:
Start Netbeans and choose item Update Center in menu Tools. Then select radio button
Install Manually Downloaded Modules and click Next.
Now click button add and a file dialog appears. Go to Jindent's installation directory and step
into its plugin subdirectory. There you will find another Netbeans directory which locates
a Netbeans Module file called jindent-plugin-netbeans.nbm. Choose this file and click okay
button to proceed.
Then click Next to go to the next screen.
Click Next again and accept Jindent's license agreement.
The Jindent module will be downloaded. Click again Next.
Now select Include> at the Jindent module and agree to install an unsigned module.
Finally click Finish to install the Jindent module.
That's all! The Jindent module is now installed. A restart of Netbeans is not necessary.
Usage of Jindent's Netbeans module
Formatting in Editor Window
If the Jindent module is installed properly then a Jindent menu item is available in the editor
context menu of Netbeans. For verification open a file in the editor window. Click right button
to open context menu. A menu item Format with Jindent with the Jindent logo is now available.
Click on it to format your source code in current editor window.
Jindent menu item in editor's context menu
Formatting in File Navigator
Click right button to open context menu in the file navigator. A menu item Format with Jindent with
the Jindent logo is available now.
Click on this item to format selected files or directories.
Jindent menu item in file navigator's context menu
Configuring Jindent Options
To configure Jindent's settings select menu item Options in the Tools menu.
Now you can select item Jindent from the left options panel. Please note that currently the
Advance Options view is not supported yet.
Options of Jindent module
To learn how to configure Jindent's settings and how to use Jindent's customizer please refer to
section 'Settings' and 'Graphical User Interface' in this manual.
Of course the customizer's full preview and Help-On-Click support are enabled in this module!
Displaying Jindent Messages
Depending on the configuration of Jindent's settings several messages can appear after
formatting process. In JDeveloper these messages will be displayed in an integrated Jindent console.
By clicking on a displayed message the corresponding editor opens up and shows the file causing this message.
Jindent messages, warnings and errors will be displayed in a console
Undo Jindent Formatting
All Jindent formattings invoked from an editor window are undo-able. To withdraw a formatting just click on Undo in
the Edit menu.
Click on Undo to withdraw Jindent's formatting
Associating Jindent with Hot Keys
By default you can invoke Jindent formatting with editor's hot keys Ctrl + Shift + F10.