Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5677

Java records too bloated - option for single line record

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.4
    • None
    • java - Editor
    • None

    Description

      Java records seems to me too much bloated. It would be nice to have option for format records to stay in single line.

       

      Desired format:

      public record Person (String name, String address) {}

      Attachments

        Activity

          People

            Unassigned Unassigned
            Pavel Cibulka Pavel Cibulka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: