Home > programming > Scrapbook in Eclipse

Scrapbook in Eclipse

It’s never too late to read introductory books on Eclipse. More specifically, this book. You may be missing out on some pretty cool features. For example, how could I miss out on something as useful as the Scrapbook?

Essentially a Scrapbook page in Eclipse allows you to type code and execute on the fly. You don’t need to create a function or even a class. This is really sweet if you want to try out something quick and dirty, before incorporating it into your code. In this respect, it resembles the REPL of LISP or Ruby or Perl. Plus you get most of the benefits of the Java editor, such as code completion ;)

Eclipse scrapbook shot

To create a scrapbook page in Eclipse 3.2, go to File->New->Other… then choose Java -> Run/Debug -> Scrapbook page.

Categories: programming
  1. June 27th, 2006 at 12:30 | #1

    Good to hear about nice features like this after 3 years of Eclipse:)

  2. yu_li_yan
    June 27th, 2006 at 15:58 | #2

    Indeed :)

    Second bonus: getting the hang of _working sets_, after having to go through the pain of workspaces cluttered with tens of projects.

  1. No trackbacks yet.