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

Syntax highlighting for .clj (clojure) files does not work correctly when viewing the file

      Issue Summary

      The syntax highlighting does not work while viewing the Clojure file.
      It works perfectly fine when editing but when viewing the file the syntax highlighting does not work.
       

      Steps to Reproduce

      1. Create a sample clojure(.clj) file.
      2. View the file in the repository source.
      3. We see that the syntax highlighting is not working.

      Expected Results

      Syntax highlighting should work while viewing the file. Currently, it works only while editing the file.

      Actual Results

      Syntax highlighting does not work while viewing Clojure files 

       

      I understand that Bitbucket Cloud UI uses Monaco editor for viewing files and CodeMirror editor for editing the files.

      Even though the Monaco editor supports Clojure syntax, Bitbucket UI does not support it. 

      Monaco editor: https://microsoft.github.io/monaco-editor/.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

            [BCLOUD-20116] Syntax highlighting for .clj (clojure) files does not work correctly when viewing the file

            Katarína Lukácsy made changes -
            Resolution New: Won't Fix [ 2 ]
            Status Original: Long Term Backlog [ 12073 ] New: Closed [ 6 ]
            SET Analytics Bot made changes -
            UIS Original: 60 New: 61
            SET Analytics Bot made changes -
            UIS Original: 50 New: 60
            SET Analytics Bot made changes -
            UIS Original: 23977 New: 50
            SET Analytics Bot made changes -
            UIS Original: 23976 New: 23977
            SET Analytics Bot made changes -
            UIS Original: 23928 New: 23976
            SET Analytics Bot made changes -
            UIS Original: 23890 New: 23928
            SET Analytics Bot made changes -
            UIS Original: 23841 New: 23890
            SET Analytics Bot made changes -
            UIS Original: 23812 New: 23841
            SET Analytics Bot made changes -
            UIS Original: 23793 New: 23812

              Unassigned Unassigned
              dbhat@atlassian.com Dheeraj (Inactive)
              Affected customers:
              6 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: