Jindent - Source Code Formatter

Articles about Jindent - Source Code Formatter
27
December
2012

Jindent - Netbeans Plugin

Read instructions how to download and install the Jindent Netbeans plugin from Netbeans' 3rd Party Update Center.

You can download the Jindent Netbeans plugin directly from Netbeans 3rd Party Update Center:

  1. Start your Netbeans IDE and select "Plugins" from the "Tools" main menu.
  2. Then click on tab "Available Plugins" to find new available plugins to install.
  3. Now select "Jindent" from the list and mark the checkbox.

    Netbeans update site for Jindent the code formatter

  4. Click the "Install" button left below.
  5. A new confirmation dialog pops up, confirm with the "Next" button.
  6. In the next step accept the license agreement by marking the checkbox and click "Install" button.
  7. Now the plugin will be downloaded. At the end Netbeans informs you that the Jindent plugin is signed but not trusted. Ignore this message and click on the "Continue" button to start the final installation.
  8. Finally click the "Finish" button, Jindent is not installed in your Netbeans IDE.

Categories: Jindent - Source Code Formatter

30
December
2012

Jindent - JDeveloper Plugin

Read instructions how to download and install the Jindent JDeveloper plugin from Oracle's Open Source and Partners Extensions Update Center.

You can download the Jindent JDeveloper plugin directly from Oracle's Partners Extensions Update Center:

  1. Start your JDeveloper IDE and select "Check for Updates..." from the "Help" main menu.
  2. Skip the "Welcome Page" by clicking the "Next" button. Then select the "Open Source and Partners Extensions" Update Center by clicking on its checkbox and click the "Next" button again.

    JDeveloper's update site for Jindent the code formatter

  3. Now select plugin "Jindent - Source Code Formatter" by marking its checkbox and click "Next" button to start installation.

    JDeveloper's update site for Jindent the code formatter

  4. The JDeveloper IDE now starts downloading the Jindent plugin. If the download has finished please click the "Finish" button to start the final installation.
  5. JDeveloper asks you now to restart the IDE. Click "Yes" and after a fresh restart the Jindent plugin is installed and available.

Categories: Jindent - Source Code Formatter

30
December
2012

Jindent - IntelliJ IDEA Plugin

Read instructions how to download and install the Jindent IntelliJ IDEA plugin from Jetbrain's 3rd Party Plugin Repository.

You can download the Jindent IntelliJ IDEA plugin directly from IntelliJ's Plugin Repository:

  1. Start your IntelliJ IDEA IDE and click on the toolbar icon "Settings".

    IntelliJ IDEA's update site for Jindent the code formatter

  2. Now select "Plugins" in the left section. Click on the tab "Available" in the middle section to see the list of available IntelliJ IDEA pluins. Now select "Jindent - Source Code Formatter" and click right mouse button to choose "Download and Install" from context menu.

    IntelliJ IDEA's update site for Jindent the code formatter

  3. A confirmation window pops up - confirm with "Yes".
  4. IntelliJ IDEA is now going to download the plugin from the repository. After the download has finished click on "OK" button of the previous main window.
  5. IntelliJ IDEA asks you now to restart the IDE. Click "Yes" and after a fresh restart the Jindent plugin is installed and available.

Categories: Jindent - Source Code Formatter

30
December
2012

Jindent - Visual Studio/Express Integration

Read instructions how to install Jindent into the Visual Express/Studio IDE.

To integrate Jindent - Source Code Formatter as external tool into Visual Express or Visual Studio please follow the steps below.
(Please note the following description and screenshots base on the Visual Express C++ 2010 IDE.)
  1. Download the Windows Jindent installer from our website: http://www.jindent.com/downloads and install Jindent on your system.
    In this example we assume the software package is installed at: C:\Program Files (x86)\Jindent\. We will need this path later for our external tool configuration in Visual Express/Studio.
  2. Start Jindent Customizer on your deskop to create an initial Jindent settings file you would like to use in your Visual Express/Studio integration. After starting the Customizer you can edit and configure your formatting style as you need and finally save it to a fixed position on your hard disc, let's say to: C:\JindentSettings\MySettings.xjs. Remember this location, we will need it later.
  3. Start your Visual Express/Studio IDE and navigate in the main menu to Tools and select menu item External tools....
  4. Now add a new external tool command to format a single file with Jindent.
    Click on button Add and insert a new menu content entry as described on the screenshot. (Please be aware of all control settings in the screenshot - even the checkbox settings!)

    Add Jindent as an external tool to Visual Studio/Express

    Please note: Our external tool entry is External Tool 4. If you have already defined other external tool configurations than number 4 can of course differ from our description. This is important because we will later refer to this external tool number.

  5. After defining the first command we add a second one to format a complete directory including all its subfolders with Jindent.
    Click on button Add and insert another new menu content entry as described on the screenshot.

    Create another Jindent command to Visual Studio/Express

    Please note: Our external tool entry is External Tool 5. If you have already defined other external tool configurations than number 5 can of course differ from our description. This is important because we will later refer to this external tool number.

    Click on the OK button to apply all new changes.

  6. Now all necessary external tool commands are available in the system. The next step is to bind them to new context menu entries to be able to access them directly from our IDE.

    For this select main menu Tools again and choose menu item Customize... to open the Customize dialog. There select tab Commands and choose radio button Context menu and select combo box entry Editor Context Menu | Code Window.

    Bind Jindent commands to Visual Studio/Express menus

    Now click on button Add Command... and a new dialog pops up. There choose Tools for Categories and then select External Command 4 for Commands. This is the 'Format file with Jindent' command you would like to bind to the editor's context menu. Finally click button OK.

    Bind Jindent commands to Visual Studio/Express menus

  7. To bind the second external tool command select Project and Solutions Context Menus | Project.

    Bind another Jindent command to a Visual Studio/Express menu

    Now click on button Add Command... and choose again Tools for Categories and then select External Command 5 for Commands. This is the 'Format directory with Jindent' command you would like to bind to the project context menu. Finally click button OK.

    Bind another Jindent command to a Visual Studio/Express menu

  8. Now all menu entries are declared and connected to our external tool commands so you can click on Close button to finally close the Customize... dialog.
    To verify open a sample C/C++ file in your text editor and right click in the editor panel to open the editor's context menu. The very first entry should be now 'Format File with Jindent'.

    Verify Jindent's Visual Studio/Express menu entry

    Execute it and Jindent will start formatting the code editor's content. Jindent's output will be printed in a console window below. After formatting the IDE will ask to reload the editor's content because it was modified from outside the IDE. Agree and the new formatted content shows up in your editor window.

    Verify Jindent's Visual Studio/Express menu entry

    To finish your verification right click on the project node in the Solution Explorer and here again the context menu pops up and the first entry should be Format Folder with Jindent. Invoke this new menu entry and Jindent will format all C/C++ and header source files found in the selected project.

    Verify Jindent's Visual Studio/Express menu entry

  9. If your verification passed then Jindent is installed properly and you are done.

Categories: Jindent - Source Code Formatter

24
December
2015

Jindent - Eclipse Plugin

Read instructions how to download and install the Jindent Eclipse plugin from the Eclipse Update Site.

You can download the Jindent Eclipse plugin directly from Newforms' Eclipse Update Site:

  1. Start your Eclipse IDE and select "Install new software..." from the "Help" main menu
  2. Enter Newforms' Update Site:

    http://downloads.jindent.com/plugins/eclipse/

    into the "Works with" text field and select the latest version of "Jindent - Source Code Formatter"

    Eclipse update site for Jindent the code formatter

  3. Now click the "Next" button twice to proceed.
  4. Accept the license agreement and finally click "Finish" button.
  5. The IDE will restart and Jindent is installed now.

Categories: Jindent - Source Code Formatter