columns4eclipse Plugin installation and usage - H Y R Tutorials

columns4eclipse Plugin installation and usage

Share This
columns4eclipse Plugin installation and usage

What is 'columns4eclipse' Plugin?

Columns Plug-in for Eclipse defines the concept of 'Column' and some functions of this editable component. Functions such as copy, paste, cut, fill, lowercase, uppercase, search and replace are provided.

Installation

You can install this plugin in two ways:

  1. Install via Eclipse Marketplace
  2. Download and add it to plugins folder

Install via Eclipse Marketplace

Go to the Eclipse Market Place and Search for columns4eclipse or open the below link
https://marketplace.eclipse.org/content/columns4eclipse

hyr tutorials


Drag the icon called "Install" onto your workspace.

Download and add it to plugins folder

Open the below URL:
https://sourceforge.net/projects/columns4eclipse/

hyr tutorials

Click on Download

It will download one zip file just like below.

hyr tutorials

unzip the downloaded file and you can find one Jar file as shown below.

hyr tutorials

Now open your eclipse directory and you can find one folder named "plugins" as shown below.

hyr tutorials

Copy the jar file into this plugins folder then restart the eclipse.

You can see the below options available under the main menu bar.

hyr tutorials

Usage

In our project we create so many variables but the default alignment doesn't look good.

Below Code is before applying columns4eclipse alignement.

hyr tutorials

To make the nice and good looking alignment follow the below steps
 Select the variables that you want to change the alignment as shown below.

hyr tutorials

Then click Alt + Shift +K, A from keyboard or click the icon shown in below image.

hyr tutorials

It shows the below small dialog window.

hyr tutorials


Enter the "Char to align" as = (equals symbol) then click OK

hyr tutorials

Now the variables alignment looks so good.
This is how you can make the changes to your alignment and make the code look beautiful.