With v2020.1, not only can you quickly view the definition of a variable, field, method, or any other symbol ( View | Quick Definition), but you can also quickly view its type definition. There’s also a new inspection and a quick-fix that enables you to quickly simplify the verbose instanceof-and-cast idioms with the new and concise pattern variables: In this first EAP build, the IDE already provides full code insight support including inline renaming ( Refactor | Rename or Shift+F6) of pattern variables. IntelliJ IDEA now also supports pattern matching of `instanceof` that will be included in Java 14. Note that support for Records is still a work in progress, and some of the features, such as the code formatter, refactorings, and quick documentation will be added later in future EAP builds. In addition to the code insight features, such as code autocompletion and navigation, the IDE allows you to quickly generate a canonical or custom constructor and it will notify you about any existing errors: With this first EAP, you can create Java Records right from the New Java Class popup ( Cmd+N/Ctrl+N from the Project tool window) just like you would for usual classes and interfaces: This first EAP build allows you to play around with some of the new Java features, such as Records and Pattern Matching. The IntelliJ IDEA 2020.1 EAP adds support for Java 14, which is also still in its Early Access stages and is planned for public release in March 2020. Note that you can now also download and configure Java when you’re setting up a Project Structure ( File | Project Structure) in an existing project, and you can configure the Gradle JDK ( Preferences / Settings | Build, Execution, Deployment | Build Tools | Gradle). If not, the IDE will suggest downloading one: Similarly, when you open an existing project, IntelliJ IDEA automatically checks whether there is already a suitable JDK available on your machine. Once you have configured and created an application, the IDE will automatically download and set up the chosen Java version, allowing you to jump straight into coding without having to switch contexts. With IntelliJ IDEA 2020.1 this will no longer be such a chore, as you can now download, extract, and set up a JDK right from the New Project wizard: ![]() Imagine you are starting a new preconfigured project (Spring/Maven/Gradle, etc.) or a plain, simple Java project and you need to add a new JDK. Code insight for R2DBC, reactive SQL clients for Micronaut and Quarkus, and other 3rd-party libraries.New “Interactively Rebase from Here” dialog.Let’s get right to the point! Here’s what’s new in the IntelliJ IDEA 2020.1 EAP: We are kicking off the new decade with a host of new improvements, check out all the details in this post!Īs always, you can download the new EAP from our website, get it from our free Toolbox App, or update using snaps if you’re an Ubuntu user. Today we are happy to open the Early Access Program for the next major release of IntelliJ IDEA – v2020.1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |