Difference between revisions of "Eclipse"

From HCL
Jump to: navigation, search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
http://www.eclipse.org
 
http://www.eclipse.org
* Install Sun Java 6 (Debian package: sun-java6-jre)
+
* Use either Sun Java (Debian package: sun-java6-jre) or OpenJDK (Debian package: openjdk-6-jre). GNU Java (GCJ) may be too slow. If you experience problems with Sun Java, it may be IPv6 - to resolve it, add '''a new line''' <code>-Djava.net.preferIPv4Stack=true</code> in the end of '''eclipse.ini''' (it must be after <code>-vmargs</code>)
* It is recommended to use the latest version from http://www.eclipse.org/downloads/  Eclipse CDT - a distribution for C/C++ development
+
* It is recommended to use the latest version from http://www.eclipse.org/downloads/  Eclipse CDT - packages for C/C++ Developers or Parallel Application Developers
 
* How to install plugins: http://agile.csc.ncsu.edu/SEMaterials/tutorials/install_plugin/ http://www.venukb.com/2006/08/20/install-eclipse-plugins-the-easy-way/  
 
* How to install plugins: http://agile.csc.ncsu.edu/SEMaterials/tutorials/install_plugin/ http://www.venukb.com/2006/08/20/install-eclipse-plugins-the-easy-way/  
  
 
== Plugins ==
 
== Plugins ==
* [[Linuxtools]]
 
 
* [[Eclox]]
 
* [[Eclox]]
 
* [[Subversive]] or [[Subclipse]]
 
* [[Subversive]] or [[Subclipse]]
  
== Preferences ==
+
== Usage ==
* To avoid unresolved things, add them either in Eclipse (Project -> Properties -> C/C++ General -> Paths and Symbols) or in environment (see [[Libraries]], CPATH)
+
* To avoid unresolved inclusions at edit time, add paths to Project -> Properties -> C/C++ General -> Paths and Symbols -> Includes
 +
* The comments <code>// TODO: ...</code> mark what you are going to do later. These parts of code can easily be found if you open the Tasks view (Window -> Show View -> Tasks)

Latest revision as of 12:47, 18 July 2011

http://www.eclipse.org

Plugins

Usage

  • To avoid unresolved inclusions at edit time, add paths to Project -> Properties -> C/C++ General -> Paths and Symbols -> Includes
  • The comments // TODO: ... mark what you are going to do later. These parts of code can easily be found if you open the Tasks view (Window -> Show View -> Tasks)