Five Features That Make Eclipse My IDE of Choice
Join the DZone community and get the full member experience.Join For Free
like a lot of developers out there, eclipse is at the core of all my development activities. it's been that way for me for years. in this article, i'm going to list the five killer features/plug-ins that i use daily within eclipse that make me very reluctant to move to another development environment.
i have to admit that i was a bit late to the mylyn party, but only because there was no connector available to connect to the company bug repository. thankfully, i tracked one down (see qcmylyn ), and since then i haven't looked back.
the advantages of mylyn are quite well known, but it isn't until you start to use mylyn that you really see the benefits. i no longer need to keep a browser open on the side to see what bugs and tasks are assigned to me- i get them in the task list view. and then, when a new bug/task is assigned to me i get a system tray notification - no need to check my email for new issues.
and that's just the beginning - the task focussed ui is a brilliant way of keeping track of what files are related to your current task. sure, it took a bit of getting used to, but once you do, it becomes second nature. finally, i can use mylyn to keep track of my own to-do list by using the local repository to store my own tasks.
it tends to get more than it's fair share of bad press, but for me, p2, the software update mechanism is essential.
being able to simply add in an update site, and get the latest version of a framework or plug-in makes the developers life really easy. no need to worry about dependencies, or unzipping a plug-in download to the plugins folder. everything is managed for you through this simple dialog.
enterprise java tooling
it's a broad topic, but eclipse has some of the best tooling available for jee projects. it's not my usual type of development, but recently i needed to get setup to developer on an enterprise project. while i could have updated my current eclipse instance, i just downloaded the complete eclipse ide for javaee bundle to have a dedicated eclipse installation for my web based work.
the amount of functionality available here is outstanding - from wizards for web service creation, excellent jsf and jpa tooling, to xml editing.
it's a simple feature but i really like the servers view that allows you to control and deploy to your server of choice. if your server isn't listed as one of the available to deploy to you will typically be able to find a plug-in to support your server.
the recognition of eclipse for enterprise java development is prevalent across the industry. the recent glassfish v3 release included a glassfish bundle for eclipse , while the springsource tool suite makes full use of eclipse and mylyn to deliver quality tooling for spring developers.
model driven development
the eclipse modelling project provides a nice set of modelling tools for those using emf and related modelling technologies. the ecore tools available to work with emf models allow you to create and modify your ecore through a standard tree, or using the visual ecore diagram editor (see below)
of course, you'll need to be using emf to benefit from these tools, but the tools themselves provide a compelling reason to use emf for your modelling. rather than having a uml diagram, seperate to your source code, to represent your model you can have synchronisation between design and implementation using these tools.
the smaller features
along with the four features i've listed above there are many other small features that together really help to make a developer's life easy in eclipse.
for example, this post explains how you can force a format of your source code every time you save - essential if you want to ensure that you're following source formatting guidelines.
perspectives are another essential. being able to switch the context from plug-in development, jee, debugging or a perspective of your own creation really helps to keep things clear.
junit integration is another big win - i know it's not exclusive to eclipse, but it's a nice view and gives good visibility into your testing tasks.
you'll find many plug-ins to help you along at the new eclipse marketplace (formerly known as epic). if you need plug-ins for checking code style, static analysis or connecting to your version control system, you're sure to find it here.
no doubt i've missed something the makes eclipse essential to you, so please feel free to share your own favourite features here.
Opinions expressed by DZone contributors are their own.