https://bugs.kde.org/show_bug.cgi?id=471319

            Bug ID: 471319
           Summary: Kotlin syntax does not permit comments in very many
                    places
    Classification: Frameworks and Libraries
           Product: frameworks-syntax-highlighting
           Version: 5.107.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: h...@nasado.name
                CC: walter.von.entfer...@posteo.net
  Target Milestone: ---

SUMMARY
The Kotlin syntax (the one used for highlighting, as opposed to the syntax of
the actual language) is unnecessarily restrictive about where comments can be
placed. For example, it will not recognize comments on import lines, in
variable definitions (before the identifier), in class bodies (after the first
member), 

STEPS TO REPRODUCE
1. Create or open a Kotlin file.
2. Place a comment in any of the locations described above.

OBSERVED RESULT
The comment is not highlighted as a comment.

EXPECTED RESULT
The comment should be highlighted as a comment.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: couldn't find, sorry
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to