This is an old revision of the document!
To migrate launch configs between different workspaces simply copy the .launch files from:
/eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches
To exclude annoying packages or classes when doing automatic organisation of imports with Ctrl+Shift+O create a a “Type Filter” under Windows → Preferences → Java → Appearance → Type Filters
.
Most annoying for me are JUnit 3, awt, Joda time:
java.awt.* junit.* org.joda.*
Source: http://blog.vogella.com/2009/04/01/eclipse-organize-imports-filter
As of 2018 the subversive project seems to be dead, so we must use subclipse. Install it from the Eclipse Marketplace and then:
sudo apt install libsvnclientadapter-java
Specify the folder where libsvnjavahl-1.so
is located as library path in eclipse.ini
(the line must come directly after -vmargs
)
-vmargs -Djava.library.path=/usr/lib/x86_64-linux-gnu/jni
see also https://github.com/subclipse/subclipse/wiki/JavaHL-on-Linux
Start with:
GTK_OVERLAY_SCROLLING=0
This will permanently reserve place for the scroll bars and no content will be hidden.
This happens sometimes when upgrading a workspace to a new version of Eclipse (most recently to me when upgrading vom 2018.09 to 2018.12).
Window→Preferences→Java→Editor→Content Assist→Advanced
Now make sure the following are all ticked in the top and bottom sections:
Apply the changes and then close and re-open your project and it will build the autocompletions which will then become available when you hit Ctrl-Space.
Source: https://www.chrisnewland.com/solved-eclipse-java-autocomplete-not-working-259