Eclipse Helios: 5 JDT Improvements

Helios has been released. This simultaneous release includes more projects but many people still regard Eclipse as Java IDE. So in this post, I want to share the most important JDT improvements that I think will be loved by most Java developers. Java Formatter Improvements I’ve discussed this improvements on my other post. Package Abbreviation …

Eclipse Tips: Debugging your multi-thread application

One of difficulty in debugging a multi-thread application is that there are several threads running at one time and if you are defining a standard breakpoint in your application, it will only break the related thread. The other threads will be still running. Eclipse actually has provided a tool to break all threads in the …

Maven Plugin: Java Code Formatter

Enforcing code format in an organization needs discipline. And the best way to do that is by doing some automation. A plugin for Maven will be a easy decision if your organization has used Maven to manage the build. This plugin is one plugin that exactly does that. The backbone on the plugin comes from …

Eclipse: Copy Qualified Java Name

Eclipse has a nice feature to copy qualified name from a resource and this is very useful to create documentation or working with XML. For example: Say that I need the full qualified name from class CaseFormat. What I have to do is: Click on + beside CaseFormat.java. Right click on CaseFormat (not CaseFormat.java). Select …

Eclipse Helios’ Java Formatter Improvement

A new milestone of Eclipse 3.6 just released with a long new and noteworthy list. Instead of discussing what’s new from this release, I want to discuss a set of improvement from its Java Formatter. I still love Eclipse’s Java Formatter and with these new improvements, I even love it more. This improvements unfortunately didn’t …

Visual Editor in Eclipse Galileo

For a long time I have tried to install Visual Editor into my Eclipse Galileo and never get it work until recently. The secret is explained in the Wiki: With “Eclipse IDE for Java EE Developers”, you should NOT check the Java EMF Model Utilities (org.eclipse.jem.util) plugins since there are already installed. Ugh… I think …

Eclipse plugin: Introduce Static Imports

The Static Import guide from Sun states: So when should you use static import? Very sparingly! Only use it when you’d otherwise be tempted to declare local copies of constants, or to abuse inheritance (the Constant Interface Antipattern). In other words, use it when you require frequent access to static members from one or two …

My Eclipse Code Formatter

A consistent code format across the project is one sign of a maintainable project. Almost all of Java IDEs provide a way to format your code, but in my opinion, Eclipse does deliver the most customizable Java formatter. Many aspects from the code can be configured using the tools. Lately the format used by Kevin …

Eclipse RCP: Creating dynamic menu

Have you ever want to create a dynamic menu to your RCP application? Do you want to compute the contents of the menu on-the-fly at runtime? This is possible and many hacks can be done to do that. But to do the correct thing is probably what annoyed your head every day. And actually, this …

Embedding Jetty Server in Eclipse RCP

Eclipse has a nice tutorial on how to embed a Jetty server in an OSGI framework. Unfortunately, this tutorial doesn’t help you if you want to run the server in a standalone Eclipse RCP application. One use case where you need to have a web server in your RCP application is when your application need …