I am using IntelliJ 2020.1.1 RC, which is supposed to have support for Records feature being previewed in Java 14. (See JEP 359: Records (Preview))
I cannot find a setting to put spaces within the parentheses of the class definition for a record
.
Example code:
package work.basil.example;
import java.time.LocalTime;
public record LocalTimeRange(LocalTime start , LocalTime stop)
{
}
Screen shot of IntelliJ preferences for Java code style.
It's work in progress, follow this YouTrack ticket for updates: