Code block macro recognizes apostrophe as the start of comment in Scala mode

XMLWordPrintable

      Hello there,

      We've found out that Confluence code block macro recognizes apostrophe as the start of comment in Scala mode.

      In the following statement,

      SQL("select * from `user_status` where `id` = {id}").on('id -> id).as(UserStatus.simple.singleOpt)
      

      'id is recognized as the start of comment and all the following codes are colored as comment block.

      Please refer to the attached screenshot for details.

      We consider this to be a bug within code block macro, and hope it will be fixed as soon as possible.

        1. syntax-scala.png
          57 kB
          G2G JPSupport

            Assignee:
            Unassigned
            Reporter:
            G2G JPSupport
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: