IntelliJ IDEA 2020.1 EAP with Records/Patterns support
Remi Forax
forax at univ-mlv.fr
Mon Jan 27 21:36:32 UTC 2020
I've forgotten to say that currently the early access build of IDEA doesn't work with java 14 as jdk that run IDEA because in the idea.sh it asks for CMS and CMS have been removed from Java 14.
I've successfully used G1 or ZGC instead, ZGC seems to provide a smoother experience but it eat more RAMs, I suppose because there is no compress oops support (all references are 64 bits pointers).
regards,
Rémi
> De: "Remi Forax" <forax at univ-mlv.fr>
> À: "Tagir Valeev" <amaembo at gmail.com>
> Cc: "amber-spec-experts" <amber-spec-experts at openjdk.java.net>, "amber-dev"
> <amber-dev at openjdk.java.net>
> Envoyé: Dimanche 26 Janvier 2020 22:53:31
> Objet: Re: IntelliJ IDEA 2020.1 EAP with Records/Patterns support
> As a test, i've taken the source of Effective Java (3rd Ed) and change them to
> use var, switch expression, records and the instanceof with the type test
> pattern.
> [ https://github.com/forax/effective-java-3e-source-code |
> https://github.com/forax/effective-java-3e-source-code ]
> IntelliJ works great ! No problem.
> regards,
> Rémi
>> De: "Brian Goetz" <brian.goetz at oracle.com>
>> À: "Tagir Valeev" <amaembo at gmail.com>, "amber-dev" <amber-dev at openjdk.java.net>,
>> "amber-spec-experts" <amber-spec-experts at openjdk.java.net>
>> Envoyé: Samedi 25 Janvier 2020 18:53:59
>> Objet: Re: IntelliJ IDEA 2020.1 EAP with Records/Patterns support
>> Great news, Tagir. It is super to see strong early IDE support -- that means we
>> will are more likely to get useful feedback when we can still act on it!
>> On 1/24/2020 10:33 PM, Tagir Valeev wrote:
>>> Hello!
>>> I'm happy to announce that JetBrains started an Early Access Program
>>> for IntelliJ IDEA 2020.1. You can download the EAP builds here (fully
>>> functional for 30 days, no registration/payment required): [
>>> https://www.jetbrains.com/idea/nextversion/ |
>>> https://www.jetbrains.com/idea/nextversion/ ] Here's release notes blog post: [
>>> https://blog.jetbrains.com/idea/2020/01/intellij-idea-2020-1-eap/ |
>>> https://blog.jetbrains.com/idea/2020/01/intellij-idea-2020-1-eap/ ] In
>>> particular, these builds already have decent support for Java 14
>>> Preview features, including records and patterns in instanceof. There
>>> are still many known problems (most notable with formatting and
>>> refactorings), but all the basic functionality (syntax highlighting,
>>> error highlighting, code completion, symbol resolution, navigation,
>>> etc.) already works. Also, for patterns, we have an inspection that
>>> suggests replacing the instanceof+subsequent variable declaration and
>>> cast sequence with instanceof + pattern.
>>> Feel free to try this build. If you have any feedback you can contact
>>> me or post new issues to [ https://youtrack.jetbrains.com/ |
>>> https://youtrack.jetbrains.com ] .
>>> With best regards,
>>> Tagir Valeev.
More information about the amber-dev
mailing list