If you use multiple Eclipse installations and/or workspaces, putting the workspace title makes it easier to distinguish between them. To do this:
-showlocation to the end of the shortcut command,-showlocation string on a separate line to the eclipse.ini file located in Eclipse’s folder.Eclipse, as any other Java application, relies on the JVM to get hold of heap memory. By default, it only reserves a maximum of 512 MB memory which is insufficient if you use many plug-ins or run complex build processes.
As a general rule of thumb, you should go to the Window | Preferences | General window and switch on the Show heap memory checkbox. This way, you always will see if Eclipse is running out of memory.
To increase the amount of heap memory, either edit the eclipse.ini file or add a switch to your Eclipse shortcut, e.g.
eclipse -data /path/to/your/workspace -showlocation -vmargs -Xmx2G
See also http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse%3F.
~~Warning for Ubuntu users: If you create a shortcut for Eclipse in the Launcher, it won’t use eclipse.ini! See http://stackoverflow.com/a/27168561/90874~~ This is no longer an issue in Ubuntu 15.04+.
Despite the deceptive name, in general it is best to stick to the Package Explorer instead of the Project Explorer. For example, this shows the projects that are not assigned to any working set under a working set called Other projects.
You can edit the hotkeys in the Window | Preferences menu, in General | Keys. For some plug-ins (e.g. TeXlipse), the hotkeys do not appear at first: click the Filters… button and untick the Filter uncategorized commands checkbox.
Eclipse does not have the Subversive plug-in installed as standard. This can be installed from the Eclipse version’s (e.g. Kepler’s) update site. Due to legal reasons concerning the implementation of SVN, an additional component needs to be installed from a separate update site to use Subversive (e.g. SVNKit). The list of possibilities is automatically provided when a team action is first executed (e.g. the SVN Repositories view is opened).
Sometimes projects checked out from SVN will not show the correct actions in the Team menu and the version number and repository is not shown for the folders and files.
Remove the fixed console limit in the Preferences: http://steve-brown.id.au/it-stuff/java/eclipse-hangs-on-svn-commit.html
If you use Eclipse’s modeling framework (Ecore, EMF), the Eclipse Modeling distribution is recommended. Important note: unlike the Eclipse IDE for Java Developers, this does not have the m2e - Maven Integration for Eclipse plug-in.
Allows easier copy&pasting of file paths, or opening a system file browser at the selected file.
Allows “non-blocking” find-in-file highlighting (Ctrl+Shift+F by default), similar to how web browsers work.
Launch groups is a useful feature for running multiple applications at once, either in parallel or in sequential order. By default, this feature is only installed in Eclipse CDT, however, you can add it to your Eclipse by installing the C/C++ Remote Launch (Requires RSE Remote System Explorer) feature in the Mobile and Device Development group from your distribution’s update site.
If you wish to run the applications in sequential order, go to the Launch Group configuration and use the Edit… menu to set the Post launch action of the individiual launch configurations to Wait until terminated.
Launch groups can also be used from Eclipse Runner (http://marketplace.eclipse.org/content/eclipse-runner). This plug-in provides a separate view for launching applications and is available from the marketplace.
See http://askubuntu.com/questions/40380/how-to-set-an-icon-for-eclipse/. In short, go to Eclipse’s directory and issue the following command:
sudo cp icon.xpm /usr/share/pixmaps/eclipse.xpm
If you want to ensure only those plugins are installed that are needed, you can build up your Eclipse installation from the bare minimum. This is called the “Eclipse Platform Runtime Binary”:
nemo "{path}" in Linux Mint, nautilus "{path}" in Ubuntu Linux.Unable to read repository at <repo url>/content.xml. peer not authenticated<repo url>javacpl.exe) should work as well, but it doesn’t.The Eclipse executable launcher was unable to locate its companion shared library..Add a new Target Definition which creates a .target file.
In the Locations group, click Add…, Software Site. Add the following:
Click the Downward pointing triangle in the Package Explorer:
This following line in the MANIFEST.MF file shows an error:
org.junit4;bundle-version="4.8.1"
Threw this error: “Bundle ‘org.junit4’ cannot be resolved”. Changed to
org.junit
This is an Eclipse Kepler-specific issue, Kepler removed the junit4 bundle.
You can turn hard wrapping off by clicking to the downward pointing triangle icon in the commit window and going to the Preferences… window.
Conditional breakpoints are very useful for debugging, see a description here: https://wiki.eclipse.org/FAQ_How_do_I_set_a_conditional_breakpoint%3F. A useful trick is that you may add System.out.println("...") to the condition.
Symptom: an Eclipse RCP application throws the following error:
!ENTRY org.eclipse.osgi 4 0 2014-08-07 18:57:21.710
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
Problem: there are missing plug-ins: use the Add required plug-ins button is the launch configuration.
If your Eclipse project does not compile, it’s often worth trying these steps:
target directory. Sometimes the editor uses the Java classes (for content assist and reference resolution), however, the compiler uses the outdated JAR files in the target (or possibly bin) directory.src-gen, xtend-gen) manually and clean the workspace.Errors in files containing the dependencies and the classpath (e.g. MANIFEST.MF, plugin.xml, pom.xml, .classpath) take precedence over other errors (e.g. compile error in Java classes). Fix the former first, else the project cannot possibly work as intended.
Try deleting (or simply renaming) the .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi file.
(source: http://stackoverflow.com/questions/18356963/eclipse-wont-load-workspace)
Sometimes old attributes are stuck in the generated code of the edit and editor projects. Of course, this causes compile errors. To get rid of them, do the following:
~/.m2).You may need to repeat this as sometimes the cache is very stubborn.
Eclipse Oomph is an installer and updater for Eclipse development environments.

You can accidentally turn off the breadcrumb menu (a toolbar on the top that shows the project/folder/package/class, allowing quick navigation). By default, there are not hotkeys for hiding it, so hit Ctrl+3 and typo Toggle Java Editor Breadcrumb to turn it off.
Problem: Multiple versions of the same plug-in are required, which causes export of the product to fail: 'Export Product' has encountered a problem:
The detailed error message:
Cannot complete the install because one or more required items could not be found.
Software being installed: codegen 1.0.0.201605030116 (codegen 1.0.0.201605030116)
Missing requirement: Apache Batik Bridge/GVT/Scripting 1.6.0.v201011041432 (org.apache.batik.bridge 1.6.0.v201011041432) requires 'bundle org.apache.batik.css [1.6.0,1.7.0)' but it could not be found
Cannot satisfy dependency:
Solution: Tycho uses a different build mechanism – if you have a Maven project, it’s worth a try to build the product with Tycho and it might just work.
~/.p2 directory exists.Install Eclipse Releng Tools from http://download.eclipse.org/eclipse/updates/4.3/.
For new files: http://stackoverflow.com/questions/2604424/how-can-i-add-a-default-header-to-my-source-files-automatically-in-eclipse
pluginName = My Plugin
providerName = FTSRG
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-Localization: plugin
IApplciation interface.IApplcation.EXIT_OKIApplication implementation as an Extension:org.eclipse.core.runtime.applications extensionapplication, the project name as a prefix will be given to it) and a Name(application) -> New -> runorg.eclipse.core.runtime.products extensionproduct, it will be a postfix) and a Nameapplication will be the previous extension’s ID: [...]
!ENTRY org.eclipse.equinox.app 0 0 2015-05-21 10:42:36.066
!MESSAGE Product <projectname>.product could not be found.
!ENTRY org.eclipse.osgi 4 0 2015-05-21 10:42:36.087
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
[...]
-consoleLog argument. Without it sysout has no effect.System.getProperty("key") to retrieve the value.Problem: an Eclipse application fails with the error “No application id found”.
Solution: go to the launch configuration and click Add required plug-ins (multiple times)
./eclipse: No such file or directorySince Kepler, the PDE provides a useful “Plug-in Image Browser” view in order to support the reuse of different icons contributed by the installed plugins. See details here: http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Fguide%2Ftools%2Fviews%2Fimage_browser_view.htm
To use JDT from Maven, use the dependencies on http://repo.eclipse.org, see [[Maven and Eclipse]] for details.
<properties>
<jdt.version>3.12.0.v20150913-1717</jdt.version>
</properties>
<dependencies>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.core</artifactId>
<version>${jdt.version}</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>eclipse-staging</id>
<url>https://repo.eclipse.org/content/repositories/eclipse-staging/</url>
</repository>
</repositories>
http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/
The latest Eclipse versions (Neon++) support zooming with the keyboard:
If you don’t have a numpad or don’t want to use the the Num + / Num - keys, you can use the alphanumerical part of the keyboard.
Note: for English keyboards, UK/US should make no difference this time.