Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-15591

Kotlin syntax highlighter breaks when an apostrophe (') is between backticks (`) characters

    XMLWordPrintable

    Details

      Description

      Backticks are often used to name test cases, apostrophes are pretty common in that names ("don't" word is pretty common in test cases), so this issue occurs pretty often. In classes with a lot of tests it's often that whole file loses it's syntax highlight which is pretty sad especially while code reviewing.

      See here about backticks in Kotlin:

      https://kotlinlang.org/docs/reference/java-interop.html#escaping-for-java-identifiers-that-are-keywords-in-kotlin

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            f8535d566a61 shabbymuse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: