## page was renamed from Eclipse
## page was renamed from Eclipse3.8.2
= Eclipse =
A project aiming to provide a universal toolset for development. Open Source IDE.
http://www.eclipse.org/
== Eclipse 3.8.2 ==
Eclipse 3.8 provides bugfixes for Indigo & adds Java 7 support, but is not a 'packaged distribution' release, and will not be maintained after 4.3 "Kepler" is released. Features and plugins equivalent to a packaged distribution may be added from within the IDE [[http://en.wikipedia.org/wiki/Eclipse_%28software%29]].
Archive:
* [[http://archive.eclipse.org/eclipse/downloads/drops/R-3.8.2-201301310800/]]
=== Slackware64 14 - 64 bit ===
Run commands:
* su
* cd /tmp
* wget [[http://ftp.rnl.ist.utl.pt/pub/eclipse/eclipse/downloads/drops/R-3.8.2-201301310800/eclipse-SDK-3.8.2-linux-gtk-x86_64.tar.gz]]
* wget [[http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.8.2-201301310800/eclipse-SDK-3.8.2-linux-gtk-x86_64.tar.gz]]
* tar xvzf eclipse-SDK-3.8.2-linux-gtk-x86_64.tar.gz
* mv eclipse eclipse3.8.2
* mkdir -p /opt/ide
* mv eclipse3.8.2/ /opt/ide/
* cd /opt/ide/eclipse3.8.2/
* chgrp users * -R
=== Slackware 14 - 32 bit ===
Run commands:
* su
* cd /tmp
* wget [[http://eclipse.dcc.fc.up.pt/eclipse/downloads/drops/R-3.8.2-201301310800/eclipse-SDK-3.8.2-linux-gtk.tar.gz]]
* tar xvzf eclipse-SDK-3.8.2-linux-gtk.tar.gz
* eclipse3.8.2
* mkdir -p /opt/ide
* mv eclipse3.8.2/ /opt/ide/
* cd /opt/ide/eclipse3.8.2/
* chgrp users * -R
=== On error ===
If error '''Job found still running after platform shutdown.''' appears in .log file, delete
al plugins below .metadata/.plugins in workspace.
{{{
MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.ide.IDEWorkbenchActivityHelper$4
}}}
== Import Eclipse project ==
On the folder project must exist the '''.project''' file.
Steps:
* File
* Import
* Existing projects into workspace
* Select root directory
* browse
* select project folder (inside must have the .project file)
* Finish
== .project file sample for nodeclipse ==
{{{#!highlight xml
nodeclipse-project
com.eclipsesource.jshint.ui.builder
org.nodeclipse.ui.NodeNature
org.eclipse.wst.jsdt.core.jsNature
}}}
== Web Tools Platform 3.3.2 ==
* Help
* Install new software
* Add, Indigo repository: http://download.eclipse.org/webtools/repository/indigo/
* Eclipse Web Developer Tools, including HTML, CSS, XHTML, etc.
* XML, DTD and XML Schema Editors, validators, and XML Catalog support
* Web Page Editor
== Java formatter ==
* Window
* Preferences
* Java
* Code style
* Formatter
* Create new profile
* Edit
* Line wrapping tab, set maximum line width: 200
* Line wrapping tab, line width for preview window: 80
* Comments tab, set maximum line width for comments: 200
== Eclipse Kepler ==
* Get http://eclipse.dcc.fc.up.pt/technology/epp/downloads/release/kepler/SR2/eclipse-jee-kepler-SR2-linux-gtk-x86_64.tar.gz
* cd /tmp
* tar xvzf eclipse-jee-kepler-SR2-linux-gtk-x86_64.tar.gz
* mv eclipse eclipse4.3.2
* mkdir -p /opt/ide
* mv eclipse4.3.2/ /opt/ide/
* cd /opt/ide/eclipse4.3.2/
* chgrp users * -R
== Subeclipse tigris ==
* Eclipse 3.8.2 and Help. Install new software
* Add site http://subclipse.tigris.org/update_1.10.x , Subeclipse and SVNKit
== m2e plugin ==
* Eclipse 3.8.2 and Help. Install new software
* Add site http://download.eclipse.org/technology/m2e/releases
* Select version 1.4.1 disabling show only newer versions.
== Eclipse Juno SR2 for Java EE ==
* wget http://eclipse.dcc.fc.up.pt/technology/epp/downloads/release/juno/SR2/eclipse-jee-juno-SR2-linux-gtk-x86_64.tar.gz
* cp /home/vitor/Downloads/eclipse-jee-juno-SR2-linux-gtk-x86_64.tar.gz /opt//ide/
* tar xvzf eclipse-jee-juno-SR2-linux-gtk-x86_64.tar.gz
* ls -lah
* mv eclipse/ eclipseJunoSR2
* exit # as normal user
* cd /opt/ide/eclipseJunoSR2
* ./eclipse
* install m2e and pdt from Install new software, Juno repository
* # wget http://www.svnkit.com/org.tmatesoft.svn_1.8.6.eclipse.zip # http://svnkit.com/download.php Eclipse update site archive
* wget http://subclipse.tigris.org/files/documents/906/49382/site-1.10.5.zip #subeclipse zipped archived site, http://subclipse.tigris.org/archive/
== Workspace settings/metadata ==
Usually workspace settings are stored in the folder '''/.metadata/.plugins/org.eclipse.core.runtime/.settings''' .
Eclipse global settings: '''/configuration/.settings/org.eclipse.ui.ide.prefs'''
Preferences are applied in following order: global preferences, then local (workspace) preferences
sample '''org.eclipse.ui.editors.prefs'''
{{{
AbstractTextEditor.Color.Background=64,64,64
AbstractTextEditor.Color.Background.SystemDefault=false
AbstractTextEditor.Color.FindScope=188,173,173
AbstractTextEditor.Color.Foreground=246,243,232
AbstractTextEditor.Color.Foreground.SystemDefault=false
AbstractTextEditor.Color.SelectionBackground=137,137,65
AbstractTextEditor.Color.SelectionBackground.SystemDefault=false
AbstractTextEditor.Color.SelectionForeground=0,0,0
AbstractTextEditor.Color.SelectionForeground.SystemDefault=false
PHPReadOccurrenceIndicationColor=97,97,97
PHPWriteOccurrenceIndicationColor=148,133,103
currentLineColor=80,80,80
eclipse.preferences.version=1
filteredSearchResultIndicationColor=63,63,106
javaScriptOccurrenceIndicationColor=97,97,97
lineNumberColor=192,192,192
lineNumberRuler=true
occurrenceIndicationColor=97,97,97
overviewRuler_migration=migrated_3.1
printMarginColor=192,192,192
pydevOccurrenceIndicationColor=156,156,92
searchResultIndicationColor=70,68,103
writeOccurrenceIndicationColor=148,133,103
}}}
sample '''org.eclipse.jdt.ui.prefs'''
{{{
content_assist_lru_history=
content_assist_number_of_computers=17
content_assist_proposals_background=255,255,255
content_assist_proposals_foreground=0,0,0
eclipse.preferences.version=1
fontPropagated=true
java_bracket=255,255,255
java_comment_task_tag=172,193,172
java_default=246,243,232
java_doc_default=179,181,175
java_doc_keyword=204,147,147
java_doc_link=168,147,204
java_doc_tag=147,147,204
java_keyword=239,239,175
java_keyword_return=239,239,175
java_multi_line_comment=127,159,127
java_operator=240,239,208
java_single_line_comment=127,159,127
java_string=204,147,147
org.eclipse.jdt.internal.ui.navigator.layout=2
org.eclipse.jdt.ui.editor.tab.width=
org.eclipse.jdt.ui.formatterprofiles.version=12
org.eclipse.jdt.ui.javadoclocations.migrated=true
org.eclipse.jdt.ui.text.code_templates_migrated=true
org.eclipse.jdt.ui.text.custom_code_templates=
org.eclipse.jdt.ui.text.custom_templates=
org.eclipse.jdt.ui.text.templates_migrated=true
org.eclipse.jface.textfont=1|Monospace|10.0|0|GTK|1|;
pf_coloring_argument=239,239,175
pf_coloring_assignment=246,243,232
pf_coloring_comment=127,159,127
pf_coloring_key=246,243,232
pf_coloring_value=204,147,147
proposalOrderMigrated=true
semanticHighlighting.annotation.color=128,128,128
semanticHighlighting.annotation.enabled=true
semanticHighlighting.class.color=202,230,130
semanticHighlighting.class.enabled=true
semanticHighlighting.deprecatedMember.bold=false
semanticHighlighting.deprecatedMember.color=255,255,255
semanticHighlighting.deprecatedMember.enabled=true
semanticHighlighting.field.bold=false
semanticHighlighting.field.color=179,183,132
semanticHighlighting.field.enabled=true
semanticHighlighting.interface.color=202,230,130
semanticHighlighting.interface.enabled=true
semanticHighlighting.localVariable.color=212,196,169
semanticHighlighting.localVariable.enabled=true
semanticHighlighting.localVariableDeclaration.bold=false
semanticHighlighting.localVariableDeclaration.color=212,196,169
semanticHighlighting.localVariableDeclaration.enabled=true
semanticHighlighting.method.color=223,190,149
semanticHighlighting.method.enabled=true
semanticHighlighting.methodDeclarationName.color=223,190,149
semanticHighlighting.methodDeclarationName.enabled=true
semanticHighlighting.number.color=138,204,207
semanticHighlighting.number.enabled=true
semanticHighlighting.staticField.bold=false
semanticHighlighting.staticField.color=147,162,204
semanticHighlighting.staticField.enabled=true
semanticHighlighting.staticFinalField.bold=false
semanticHighlighting.staticFinalField.color=83,220,205
semanticHighlighting.staticFinalField.enabled=true
semanticHighlighting.staticMethodInvocation.color=196,196,183
semanticHighlighting.staticMethodInvocation.enabled=true
sourceHoverBackgroundColor=161,152,121
spelling_locale_initialized=true
tabWidthPropagated=true
useAnnotationsPrefPage=true
useQuickDiffPrefPage=true
}}}
== Eclipse external tools ==
* Window, Preferences, run/debug, string substitution
* Run, External tools, External tools configuration
* Link with default string substitutions https://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fconcepts-exttools.htm
=== Pylint example ===
* '''Location:''' /home/user/.local/bin/pylint
* '''Working dir:''' ${project_loc}
* '''Arguments:'''--rcfile=${pylint_file} ${resource_loc}
The ${pylint_file} comes from a string substitution
The PYTHONPATH is the one setted in the current project (PyDev-PYTHONPATH).