Difference between revisions of "Getting Started with Eclipse"
From MIPAV
(→Code Conventions) |
(→Code Conventions) |
||
Line 18: | Line 18: | ||
== Code Conventions == | == Code Conventions == | ||
− | MIPAV code is written in Java and conforms to many of the standard Java code conventions. In addition, here are some things you can set Eclipse to do | + | MIPAV code is written in Java and conforms to many of the standard Java code conventions. In addition, here are some things you can set Eclipse to do: |
*Insert spaces when the Tab key is pressed. | *Insert spaces when the Tab key is pressed. | ||
*Set your compiler compliance settings to 1.6. | *Set your compiler compliance settings to 1.6. |
Revision as of 20:56, 4 August 2010
Eclipse is one of many good IDEs for developing MIPAV plugins and helping with the MIPAV project. Here you can find out how to get started using Eclipse.
Requirements
Here are locations for downloading both Java and Eclipse. Note that Java may already be installed on your system. Find out what version of Java you have here.
- Java SE Runtime Environment (JRE) or Java Development Kit (JDK). Version 1.6 or higher is needed. You can either download it here or use the JRE bundled with an installed version of MIPAV.
- Eclipse IDE for Java Developers. The current version is recommended. Download here
Installing Java
If you downloaded Java, simply follow the installation prompts provided.
Installing Eclipse
Open the downloaded zip file. Unzip the entire contents to a convenient folder, such as C:\Program Files\
Code Conventions
MIPAV code is written in Java and conforms to many of the standard Java code conventions. In addition, here are some things you can set Eclipse to do:
- Insert spaces when the Tab key is pressed.
- Set your compiler compliance settings to 1.6.
- Change the compiler rule about "Forbidden references" from Error to Warning.
Now What?
With Java and Eclipse installed, you're all set to write MIPAV plugins.