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

Strange behaviour with new text block feature in editor

    XMLWordPrintableJSON

    Details

      Description

      Write a buggy text block and trying to solve in editor ends up in strange behavior:

      Reproduce:
      Write new class variable:

      public static String x = """test""";
      

      trying to correct with line break after the first three double quotes tries to and just another double quote

      public static String x = """"
      + "test""";
      

      Could only be fixed in editor by writing it from scratch (correct JDK 13 syntax!).

        Attachments

          Activity

            People

            • Assignee:
              akshay_gupta Akshay Gupta
              Reporter:
              graben Benjamin Graf
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h