User Tools

Site Tools


eclipse

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
eclipse [2019/08/27 14:31]
mstraub
eclipse [2021/07/12 22:20]
mstraub [Scroll bars hide content]
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 =====
Line 42: Line 49:
 ==== Scroll bars hide content ==== ==== Scroll bars hide content ====
  
-Start with GTK_OVERLAY_SCROLLING=0 +Start with
-see https://​bugs.eclipse.org/​bugs/​show_bug.cgi?​id=519728+<code bash> 
 +GTK_OVERLAY_SCROLLING=0  
 +</code>
  
 +This will permanently reserve place for the scroll bars and no content will be hidden.
 +
 +See https://​bugs.eclipse.org/​bugs/​show_bug.cgi?​id=519728
 +
 +==== Scroll bars too small ====
 +
 +Using Kubuntu 20.04 I don't like the miniscule scroll bars that slightly widen when hovering over them. Setting a min size works as follows:
 +
 +Edit .config/​gtk-3.0/​gtk.css and add these lines:
 +
 +<​code>​
 +.scrollbar.vertical slider,
 +scrollbar.vertical slider {
 +min-width: 8px;
 +}
 +</​code>​
 ==== Autocompletion not working properly ===== ==== Autocompletion not working properly =====
  
eclipse.txt · Last modified: 2021/07/12 22:27 by mstraub