Blog Archives

Eclipse Tips: More refactorings (and a bit of common sense).

In this next video in my series of using Eclipse effectively, I show how how to use Eclipse’s quick-fix refactoring (and a little common sense) to restructure some hairy code into something rather more palatable.

Eclipse Tips: using the Source menu

Everyone knows – or at least suspects – that most of the Eclipse goodies live under the Refactoring menu. However, there’s also a lot of goodness under the Source menu too.

In this quick tip, I’m using another example from my little Java TDD course, demonstrating how to quickly write an immutable value type using a bunch of those Source menu items.

Eclipse Tips: Quick Fix to generate code

Here’s another in my nascent series of quick tips for Eclipse. This one shows how you can use Eclipse’s quick fix feature (ctrl+1) to quickly generate code.

To demonstrate it, I’ve actually used one of the exercises from my little Java TDD course, so if you watch it you’ll learn a little about Hamcrest matchers, too :-)

Eclipse Tips: Extract Local Variable

When I teach my little Java TDD course, I quite often do live coding demos …especially if we’re running behind schedule and I want to catch up; I’ll skip an exercise and work through the solution. And one of the remarks I often get at the end is “thanks for the course, but what I also found useful was learning about how to use Eclipse effectively”.

Well, I guess I have used Eclipse for over 10 years now, so I suppose I am reasonably familiar with it. So I thought I’d show some of these tips by way of a series of screencasts.

The first one in the series is nice and simple: the “Extract Local Variable” refactoring, and its corollary, “Inline Variable”; something I use an awful lot when working on Apache Isis codebase. You’ll find it just below…

Giving up on Eclipse Juno

In my last blog I posted about my Eclipse 4.2 Juno setup; as much as a reference for me in case I needed to do a reinstall as anything else.

What I didn’t talk about then was the issues I’ve been having generally with Juno. Read the rest of this entry

Eclipse Juno JEE Setup

My installation of Eclipse Juno seemed to have got its knickers in rather a twist, so just spent a “happy” hour reinstalling the damn thing.

Anyway, here’s what my setup currently consists of:

Read the rest of this entry

Follow

Get every new post delivered to your Inbox.

Join 195 other followers