This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
eclipse [2019/08/27 14:32] mstraub [Scroll bars hide content] |
eclipse [2020/06/23 11:53] mstraub [Organise Imports] |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Configuration ===== | ===== Configuration ===== | ||
+ | |||
+ | ==== Migrate launch configurations ===== | ||
+ | |||
+ | To migrate launch configs between different workspaces simply copy the .launch files from: | ||
+ | |||
+ | <code> | ||
+ | /eclipse-workspace/.metadata/.plugins/org.eclipse.debug.core/.launches | ||
+ | </code> | ||
==== Organise Imports ==== | ==== Organise Imports ==== | ||
Line 10: | Line 18: | ||
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''. | 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: | + | My current list: |
<code> | <code> | ||
+ | scala.* | ||
java.awt.* | java.awt.* | ||
junit.* | junit.* | ||
org.joda.* | org.joda.* | ||
</code> | </code> | ||
- | |||
- | Source: [[http://blog.vogella.com/2009/04/01/eclipse-organize-imports-filter]] | ||
===== SVN support ===== | ===== SVN support ===== |