Eclipse Tuning

From UbikWiki

(Difference between revisions)
(formatter)
Current revision (09:52, 9 February 2009) (edit) (undo)
 

Line 1:

Line 1:

== Eclipse.ini ==
== Eclipse.ini ==
-
In Eclipse folder (where you find eclise.exe), open the file called eclipse.ini:
+
In Eclipse folder (where you find eclipse.exe), open the file called eclipse.ini:
<source lang="text">
<source lang="text">
-showlocation
-showlocation

Line 39:

Line 39:

-Xms1024m
-Xms1024m
-Xmx1024m
-Xmx1024m
 +
 +
== Plugins installation ==
 +
 +
 +
== Cooperative work ==
 +
 +
A plugin for CVS is available by default but you have to install one for SVN.
 +
== Formatter ==
== Formatter ==

Line 47:

Line 55:

There you can create, edit, import or export your formatter profile.
There you can create, edit, import or export your formatter profile.
The maximum Line width (Line Wrapping tab) or the identation type can be modified in this preferences menu.
The maximum Line width (Line Wrapping tab) or the identation type can be modified in this preferences menu.
 +
 +
[[Category:Eclipse Tips]]
[[Category:Eclipse Tips]]
[[Category:Tips and Tricks]]
[[Category:Tips and Tricks]]

Current revision

Contents

Eclipse.ini

In Eclipse folder (where you find eclipse.exe), open the file called eclipse.ini:

-showlocation 
-consolelog
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vm
C:\JDKs\jdk1.6.0_10\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx512m
-XX:PermSize=128m
-XX:MaxPermSize=128m
-XX:+CMSPermGenSweepingEnabled
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-XX:+PrintGCDetails
-XX:+UseAdaptiveSizePolicy
-XX:MaxGCPauseMillis=5000
-Xloggc:C:/temp/gc

Configuration depending on RAM

For 1GO: -XX:PermSize=128m -XX:MaxPermSize=128m -Xms512m -Xmx512m

For 2GO: -XX:PermSize=256m -XX:MaxPermSize=256m -Xms1024m -Xmx1024m

Plugins installation

Cooperative work

A plugin for CVS is available by default but you have to install one for SVN.


Formatter

In cooperative work developpers have to use the same format policy for source code. This can be done in Eclipse in: Windows>Preferences>Java>Code style>Formatter

There you can create, edit, import or export your formatter profile. The maximum Line width (Line Wrapping tab) or the identation type can be modified in this preferences menu.

Personal tools