Search code examples
javaintellij-ideaeditorjava-14

Configure IntelliJ to work with Java 14 and records


I have tried to make IntelliJ work with SDK-14, but I am obviously having problems getting records to work. Since the release date is in March, I would think that the good people at Jetbrains are close to having a version that works with SDK-14. I need to run SDK 14 with --enable-preview. I have googled for a couple of days without any luck.

I had some luck with Sublime, but I miss code-completion. If there are other options, please feel free to mention them.


Solution

  • UPDATE: The first 2020.1 EAP with Records support is released.

    IntelliJ IDEA support for Records (JEP 359) is work in progress and will be available in 2020.1 release (EAP for this version should start in January 2020, release is planned for March-April 2020).

    Related tickets: