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

        1. image-2020-05-01-15-09-16-808.png
          247 kB
          Dheeraj
        2. image-2020-05-01-15-08-36-238.png
          251 kB
          Dheeraj

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

            After reviewing this issue, we determined that it was low priority and unlikely to be worked on in the near future. We appreciate your input, but want to be transparent about our decision to not fix this right now. 

            Katarína Lukácsy added a comment - After reviewing this issue, we determined that it was low priority and unlikely to be worked on in the near future. We appreciate your input, but want to be transparent about our decision to not fix this right now. 

            Thanks, Brandon! That makes sense.   Hope the complex approach during the work on 8673 will help here as well.

            Eugene Naydenov added a comment - Thanks, Brandon! That makes sense.   Hope the complex approach during the work on 8673 will help here as well.

            Hi c6425bc1fd02, we are focusing on a project now to add syntax highlighting to the (new) pull request experience. Though that project is in the early stages we expect changes to how we highlight syntax throughout the application that could/should resolve issues such as this.

            Because of this we don't plan on investing on this and similar issues in the near future, but we will revisit priority here if our general syntax highlighting work doesn't address this issue (if we don't end up replacing Monaco).

            Our syntax highlighting work is tracked here: https://jira.atlassian.com/browse/BCLOUD-8673

            Brandon Reppert (Inactive) added a comment - - edited Hi c6425bc1fd02 , we are focusing on a project now to add syntax highlighting to the (new) pull request experience. Though that project is in the early stages we expect changes to how we highlight syntax throughout the application that could/should resolve issues such as this. Because of this we don't plan on investing on this and similar issues in the near future, but we will revisit priority here if our general syntax highlighting work doesn't address this issue (if we don't end up replacing Monaco). Our syntax highlighting work is tracked here:  https://jira.atlassian.com/browse/BCLOUD-8673

            Hi there,

            Guys, the issue highlights the absence of basic must-have product functionality for such kind of a product, but the priority is set to low. I don't think it's fair. Reading the code as plain text hurts the productivity of the engineers that impacts the economics of companies that use "Bitbucket" product. As I can see there's no progress on this issue almost for one year. I would be highly upset if I'd have to wait another year or more. Could you guys please increase the priority on this and speedup the resolution?

            Eugene Naydenov added a comment - Hi there, Guys, the issue highlights the absence of basic must-have product functionality for such kind of a product, but the priority is set to low. I don't think it's fair. Reading the code as plain text hurts the productivity of the engineers that impacts the economics of companies that use "Bitbucket" product. As I can see there's no progress on this issue almost for one year. I would be highly upset if I'd have to wait another year or more. Could you guys please increase the priority on this and speedup the resolution?

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

                Created:
                Updated:
                Resolved: