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

Issue #15591 closed
Dmitry Ryadnenko created an issue

Screen Shot 2018-01-30 at 19.16.52.png

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

Comments (5)

  1. Log in to comment