Over a million developers have joined DZone.

Eirik Bakke: My Five Favorite NetBeans IDE Features!

· Java Zone

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

Continuing a series of articles focusing on NetBeans users and their five favorite NetBeans IDE features, here's the next part, by Eirik Bakke from MIT. -- NetBeans team.

Eirik Bakke (twitter:@eirikbakke) is a Ph.D. student at the MIT Computer Science and Artificial Intelligence Laboratory. He has spent the past few years designing and implementing SIEUFERD, a new kind of user interface for working with relational data. The application is built on the NetBeans Platform, and lets users explore JDBC-based data sources using standard graphical idioms such as filters, forms, tables, and formulas.

What are your 5 favorite NetBeans features?

1.The editor itself. There are plenty of general-purpose editors around and everyone has their favorite. For Java programming, however, an IDE is an absolute must, and there is probably no IDE better integrated with the Java language model than NetBeans.

For me, a typical programming session involves constant keyboard invocation of various language-dependent NetBeans features:

  • autocomplete identifier
  • Refactor Rename variable/method/class
  • show available methods with Javadoc
  • Find Usages
  • Go to Definition
  • Go Back
  • etc.

And while I use Git mainly from the command-line, the NetBeans editor gutter indicator makes it very easy to see which lines have changed since the last commit.

2. Excellent Maven support. Every now and then, external circumstances dictate that I work on Eclipse for a while, and I'm always baffled by how non-trivial it is to check out, open, close, or move project directories around.

NetBeans project directories work a lot more sensibly, but better yet, NetBeans lets you open standard Maven project directories directly—without any "import" or "convert" process required. Whether you created the project inside or outside of NetBeans, NetBeans will treat it as a first-class IDE project while using Maven to run, debug, profile, and test your project exactly as it would if done from the command-line or a continuous integration system. 

Compile-on-Save works, too.

3. Clean UI. For all its features, NetBeans has a clean and consistent UI.

Whether you are editing code, running a debugger session, comparing diffs, or running an application in a servlet container, the general layout of the IDE and its menus will remain simple and mostly the same. 

Contrast this with Eclipse's multiple levels of workspaces/perspectives/projects/windows, long context menus, modial dialogs, and "new everything". (Disclaimer: The last time I used Eclipse was in 2012, while teaching an undergraduate programming course.)

4.The Profiler. The Profiler is a tool I use only once in a while, but when I do, "it just works". With NetBeans, there is no excuse for optimization without benchmarking!

5. The NetBeans team. The NetBeans bug tracking system is open to the public and reported bugs do tend to get fixed. This gives users with particular sensitivities, like myself, peace of mind that their favorite IDE won't suddenly become unusable because of some workflow-breaking bug.

Last but not least, my own software project is built on top of the NetBeans Platform, which makes the entire architectural machinery of the NetBeans IDE available to third-party applications.

This includes GUI components such as the following:

  • tabbed documents
  • dockable panes
  • toolbars
  • property sheets
  • autocompleting editors
  • countless libraries for dealing with common desktop application tasks, such as
    • automatic software updates
    • internationalization
    • undo/redo
    • etc.

Do you and your colleagues also want to share your team's favorite NetBeans features with the world? Write to netbeans dot webmaster at gmail dot com.

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}