Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Aaron Lara
I'm a Java developer who drinks coffee and transforms it in code (Awesome, right?!). I have been working at genuitec as a developer since December, 2011. Programming really cool stuff :) ... Ah I'm a gamer, so if you want to play something in steam just let me know :D

I always appreciate those “small things” that help me write better code and code faster. Eclipse Neon comes with a great set of those small things right in the Java editor.

As a Java developer I can’t help but feel excited about the new features Neon has and how it has a better integration with Java 8 (in fact, Java 8 is a requirement now). I will list here the Java editor improvements I’m most excited about.

Content Assist Improvements

Eclipse’s content assist (Ctrl+Space) was really good already, but now it’s even better!  As you type, matching results are displayed in bold in the Content Assist popup. Pretty cool, right? NeonJavaEditorCA

Creating New Fields from Constructor Parameters

You can invoke a quick assist dialog by pressing Ctrl+1 in the constructor and it will allow you to automatically create fields from the parameters passed along. It is actually a really handy feature. Otherwise you have to type the usual this.variableName = variableName and also make sure to declare the fields…. well that’s something we do too often, don’t we? Again, it’s the little things. NeonJavaEditorNewField

Null Check Templates

Hey, don’t forget to check for null values! 🙂 Again, something we do all the time! Well, Eclipse Neon saves us a few keystrokes by adding null check templates. Just start typing “if” and invoke the content assist (Ctrl+Space). A new “ifNotNull” template displays to save us some typing. NeonJavaEditorNull

Rename Getters and Setters When Renaming Fields

Now when renaming fields using refactoring (Alt+Shift+R), use the Options… link on the popup to display the Rename Field dialog. From this dialog you can choose to also rename the getters and setters of the field. So yeah, no more weird-named getters and setters because we forgot to rename them after we changed the name of a field. NeonJavaEditorRename

Conclusion

Don’t you love to write code so smoothly that you only have to think about the actual logic instead of struggling with remembering variable and method names, missed checks, typing too much recurrent code, etc.? Well I do and I definitely love the BIG help in the SMALL things Eclipse Neon brings. Want to see for yourself? Download Eclipse Neon.

For more cool Eclipse Neon features for Java developers visit https://www.eclipse.org/eclipse/news/4.6/jdt.php.

Here’s a picture of my dog, Zelda. It’s unrelated but she is cute, isn’t she? 😀 image00  

Related Posts

Neon is the NEW MARS – Top 10 Features Just a year ago we were ecstatic about the release of Eclipse Mars. Mars came with really great Java IDE features like a hierarchical view of nested projects, the ability to customize perspectives, speed improvements for text search and just a variety of improvements that many of us were excited about. So why is Neon different? Well, Neon in...
Eclipse Shortcuts for a Productive Workflow I hope this list of my favorite Eclipse shortcuts will help your workflow become more productive. The shortcuts are divided into the following areas: Navigation General Purpose Editing Java Editor Plug-in Development Workbench Navigation Switching between Open Editors Ctrl + E—Display a filterable list o...
Boost Productivity with MyEclipse—Coding & Na... MyEclipse is a powerful Java EE IDE for today’s modern enterprise developer. This article is the second in a series discussing ways to boost productivity with MyEclipse. The first article, focused on project setup. This article showcases time-saving tips and tricks to improve MyEclipse coding and navigation.Code CompletionMyEclipse delivers an inte...
What do Programmers Hate Most? I love my job as a programmer, but like most jobs, it can have a downside. Sometimes I really dread having to tell someone what I do for a living. The story I am about to tell you is 100% true.When driving home one night, I was stopped by a police officer. It was just a “routine inspection.” I don’t know how it is in other countries, but here in Me...

Posted on Jun 22nd 2016