0% found this document useful (0 votes)
22 views2 pages

Eclipse Install

installation procedure

Uploaded by

gudi_manoj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views2 pages

Eclipse Install

installation procedure

Uploaded by

gudi_manoj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Install Eclipse.

In Ubuntu, you can do it at least in these two ways:

Go to the Ubuntu Software Center, search for eclipse, and install "Extensible
Tool Platform and Java IDE"; or
Give the command sudo apt-get install eclipse eclipse-cdt eclipse-emf eclipse-
emf-examples eclipse-emf-sdk eclipse-jdt eclipse-pde eclipse-platform eclipse-
platform-data eclipse-rcp eclipse-rse eclipse-xsd eclipse-xsd-sdk

2. Open Eclipse, and give a directory to use as a workspace.


Go to "Help" -> "Install New Software...".
In the new dialog, in the "Work with:" pull-down list, select "Indigo -
http://download.eclipse.org/releases/indigoIndigo -
http://download.eclipse.org/releases/indigo".
Click the checkbox to the left of "Web, XML, Java EE and OSGI Enterprise
Development".
Click the "Next >" button. The installation will start.
The dialog will now list the items to be installed, and ask you to confirm
the installation. Click the "Next >" button. The installation will complete.

3. Similarly as mentioned above add the following plugins (Navigate to Help >
Install New Software for indigo. Select “All available sites” from dropdown. Type
what you want to install in the “type filter text” box. It will take a while for
eclipse to search. Do not fret. Eclipse may become unresponsive too.)

eGit

m2e

FindBugs (add http://findbugs.cs.umd.edu/eclipse/ into available sites


resources)

and restart eclipse

4. Adding code templates and formatters :


In eclipse, go to "Window" > "Preferences"
Search for "formatter". In "Java" > "Code Style" > "Formatter", import
"Resources/codestyle/formatter.xml" . Click Apply.
Search new for "templates".
In "Java" > "Code Style" > "Code Templates", import
"Resources/codestyle/codetemplates.xml". Click Apply. You should be able to see
changes in Code > New Java Files.
In "Java" > "Editor" > "Templates", import
"Resources/codestyle/templates.xml". Click Apply.

Formatter Tag activation: The on/off features have to be turned "on" in


Eclipse preferences: Java > Code Style > Formatter. Click on "Edit" button, "Off/On
Tags", check off "Enable Off/On tags".

Note: You must do this for every workspace you use for Focus Analytics
Projects.

5. Auto format and organize import


Go to Window > Preferences > Java > Editor > Save Actions.
Select Perform the selected actions on save.
Select Format Source code. Make sure Format all lines is selected. Below I
discuss when to use the other option.
Make sure Organize imports is selected.
Select Additional actions.
Click Ok, edit some code, save it and watch Eclipse format it automatically.
Note for more details see this:
http://www.eclipseonetips.com/2009/12/13/automatically-format-and-cleanup-code-
every-time-you-save/

6. Import projects to your eclipse. (File > Import projects > Projects from Git)

You might also like