Eclipse 2021-03 Adds Java 16 Support
Written by Kay Ewbank   
Thursday, 06 May 2021

The Eclipse IDE has been updated for the first time this year. The new version concentrates on improvements to the Java support, with only minor improvements for other languages.

Eclipse IDE is a very popular desktop development environment that is downloaded over 2 million times per month, and is the critical development environment for more than 4 million active users.

eclipselogo

The main improvement to the Eclipse IDE is support for Java 16, including records, pattern matching for Instance of, and sealed classes. the support for sealed classes is a preview feature in Java 16; they are not enabled by default.

The editor has been improved with new quick assists. There's a quick assist that creates a try-with-resources block with the expression assigned to a resource variable. The variable type and name can be selected from suggestions provided by the assist.

eclipsecatch 

  

Other new quick assists help developers to create permitted class or interface declarations.The created type will declare the sealed type as its super type and it can be declared as final, non-sealed, or sealed with the available quick fixes for further inheritance control

The Clean Up preferences has a new tab named Java Feature. This lists the clean up options to make sure your code conforms to the latest Java version. Relevant clean up options from other tabs have also been moved to this new tab. The clean up options include converting separate catch clauses to multi-catches, and replacing plain comparator instances with a lambda expression alternative.

A new clean up has been added that removes useless indentation when the opposite workflow falls through. When several blocks fall through, it reduces the block with the greatest indentation. It can negate an if condition if the else statements fall through.

Another improvement means developers creating plugins now have the choice over whether to include or exclude bundles from the Target Definition view. 

eclipselogo

More Information

Eclipse Website 

Related Articles

Eclipse Preferred IDE For Java

Eclipse Neon Released 

Microsoft Joins Eclipse

Eclipse Mars Released

Eclipse IoT Contest

Sirius In Eclipse Luna

Eclipse Kepler - The New Eclipse

Eclipse Juno - A New Major Version

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Margaret Martonosi Receives Computer Architecture Award
11/06/2021

The 2021 Eckert-Mauchly Award has been awarded to Margaret Martonosi for contributions to the design, modeling, and verification of power-efficient computer architecture which have led to new fields o [ ... ]



Deno 1.10 Adds Web Storage API Support
24/05/2021

Version 1.10 of Deno, the JavaScript and TypeScript runtime from the creator of Node.js, has been released, with improvements including support for the Web Storage API and shared WASM memory.


More News

square

 



 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Thursday, 06 May 2021 )