Category Archives: Papercut

Series about simplifying Eclipse tasks.

Eclipse Papercut #15 – Simplified access to the structured selection of Viewer

Eclipse Mars will make access to the structured selection of a StructuredViewer easier. So instead of: ISelection selection = combo.getSelection(); IStructuredSelection sel = (IStructuredSelection) selection; You can write IStructuredSelection sel = combo.getStructuredSelection(); Not a big one, but one of the … Continue reading

Posted in Eclipse, Lars Vogel, Papercut | Tagged , | Leave a comment

Eclipse Papercut #14 Reduce delay in code completion

This is a fast preference settings tip. As you may know Eclipse triggers code completion for methods, fields and more. For example if you type the name of an object and a “.”, Eclipse offers via code completion the fitting … Continue reading

Posted in Eclipse, Lars Vogel, Papercut | 2 Comments

Eclipse Papercut #13 – Improved test template for JUnit 4

For Eclipse 4.3 we fixed the JUnit 4 test templates. See Bug report for details. In Eclipse 4.3 you can type “test” followed by CTRL+Space and select the first template proposal to get a JUnit test method generated. Good times … Continue reading

Posted in Eclipse, Lars Vogel, Papercut | Comments Off

Eclipse Papercut #12 Showing all templates in code completion

I just returned from the JAX conference where I had the pleasure to join a panel discussion about Eclipse. I argued in that panel that the community (including me) need to contribute more to make things easier in Eclipse. This … Continue reading

Posted in Eclipse, Lars Vogel, Papercut | Comments Off

Eclipse Papercut #11 Updating Eclipse 4 RCP application with p2

I’m happy to report that with the help of Markus Kuppe we have created a detailed description how to update your Eclipse 4 RCP application with the Eclipse p2 API. See the Updating Eclipse 4 RCP applications tutorial for details. … Continue reading

Posted in Eclipse, Lars Vogel, Papercut | Tagged , , | Comments Off

Eclipse Papercut #10 – Eclipse on Ubuntu: Fixing the black background color in hover

If you are using Eclipse on Ubuntu, the default color schema of Ubuntu uses white foreground on a black background for the tooltip colors. These colors are used by the Javadoc view and Declaration view and also for the tooltip … Continue reading

Posted in Eclipse, Lars Vogel, Papercut | 4 Comments

Eclipse Papercut #9 – Default preference settings via plugin_customization.ini – Type Filter Example

Dani Megert gave me in the Eclipse forum the tip how setup default values preferences, in this example for for JDT type filters. The solution is relatively easy. Create in your Eclipse installation directory a file called “plug_customization.ini” and add … Continue reading

Posted in Eclipse, Papercut | Tagged | 5 Comments

Eclipse Papercut #8 – Filtered PackageExplorer by project name

I recently learned from Ian Bull about Feature Patch Projects which allow you to patch existing features. This allowed me to replace my self-written clone of the package explorer with a modified one based on the JDT implementation. The benefit … Continue reading

Posted in Eclipse, Papercut | Tagged | 9 Comments

Eclipse Papercut #7 – Adding the PDE Plugin creation wizard to the Eclipse toolbar

Its been a while since I wrote my last Eclipse papercut blog entry. Today I demonstrate how to add the PDE wizard for creating new plugins to the Eclipse toolbar. I personally create plugin projects on a regular basis therefore … Continue reading

Posted in Eclipse, Papercut | Tagged , , , | 2 Comments

Eclipse Papercut #6 – Modifying Mylyn Context

Change the Mylyn context in a task Continue reading

Posted in Eclipse, Papercut | Tagged , , , , | 4 Comments