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

Formatting error in multiline comments on lines starting with '\*' characters.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 8.2
    • None
    • None
    • linux mint 18.2

    Description

      After autoformatting, two additional 'space' characters are added to start of a lines which start with '\' character followed by '*' character in multiline comments.

      Before formatting :

      /* ---------------------- *\
       *   Multi Line Comment   *
      \* ---------------------- */
      

      After formatting :

      /* ---------------------- *\
       *   Multi Line Comment   *
        \* ---------------------- */
      

      This doesn't work either

      Before formatting :

      /*
       * ---------------------- *
       *   Multi Line Comment   *
      \* ---------------------- *
       */
      

      After formatting :

      /*
       * ---------------------- *
       *   Multi Line Comment   *
        \* ---------------------- *
       */
      

      Only this works fine which is not useful.

      /*
       * ---------------------- *
       *   Multi Line Comment   *
       * ---------------------- *
       */
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            hubbyist Mehmet Durgel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: