![]() To learn more, visit the Java section of the What’s new page. We’ve grouped the Java live templates under the Java node in Settings/Preferences to make it easier for you to locate them among the live templates for all the other languages. ![]() ![]() Our data flow analysis can report non-trivial expressions that are known to evaluate to 0, and warns you about unnecessary comparisons where Math.min or Math.max is never bigger or smaller than another operand.You can collapse several statements into a loop, and the ‘unroll loop’ intention action will now get the loop size from dataflow.We’ve added a new action that can convert an optional chain to a chain of ‘if’ statements.Another Stream API improvement is that the IDE now suggests chained calls of expected type in the autocompletion.You can now start typing the Stream API method directly in a collection or array, and the IDE will suggest to automatically insert ‘.stream()’ for you.The Introducing Variable refactorings can now replace occurrences of a variable in intermediate scopes, as opposed to only replacing one or all occurrences.You can easily create inspections from structural searches, and specify a distinct description and severity for each of them.If an exception happens while running your app, the IDE can use static analysis to find its root cause and pinpoint the exact statement that caused the exception.Click on this hint and the IDE will give you a list of the errors so you can fix them. If changes that you make to a Java method or field will cause errors in other files, the IDE will instantly notify you about that with an inlay hint.We’ve updated our support for the Records feature, which is now in its second preview, added basic support for Sealed Classes, and provided full support for Text Blocks, which are a full-fledged feature in Java 15. Java 15 will be out in September and IntelliJ IDEA 2020.2 is fully ready for it.There is also a bunch of new features for a number of frameworks and technologies including Jakarta EE, Quarkus, Micronaut, Amazon SQS API, and OpenAPI. IntelliJ IDEA 2020.2 is packed with an amazing set of features, including more advanced support for GitHub pull requests, a new Inspections Widget that displays the number of warnings and errors in an opened file and allows you to quickly navigate between them, the Problems tool window that offers details of the issues in your current file and allows you to fix them fast, and the Related Problems inlay hint that notifies you when your changes break other files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |