IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-19693

Syntax Highlighting doesn't work in Bitbucket UI for few languages

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Online Editor
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary

      Syntax highlighting doesn't work properly for source files in a few languages (like Groovy, DART, Jypyter, update Shell ) on the Bitbucket UI.

      Bitbucket Cloud UI use Monaco-editor which caters to a wide range of languages and is yet to cover a few more and can be found in the link below: https://microsoft.github.io/monaco-editor/.

      The source files written in a language not supported by Monaco editor will not do Syntax highlighting in Bitbucket UI.

      However, editing the file in Bitbucket UI can do the Syntax highlighting as Editor use CodeMirror - https://codemirror.net/mode/index.html which does support a different set of language than Monaco editor

      Steps to Reproduce

      View file in Bitbucket UI and observe Syntax highlighting 

      Actual Results

      The syntax is not highlighted while checking the source file on the Bitbucket UI

      Expected Results

      The syntax be highlighted while checking the files on the Bitbucket UI regardless of the page

      Workaround:

      Check the file whiles using the "edit" mode

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Bitbucket Cloud'
            1. Bitbucket Cloud
            2. BCLOUD-19693

            Syntax Highlighting doesn't work in Bitbucket UI for few languages

              • Icon: Suggestion Suggestion
              • Resolution: Unresolved
              • Online Editor
              • None
              • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

                Issue Summary

                Syntax highlighting doesn't work properly for source files in a few languages (like Groovy, DART, Jypyter, update Shell ) on the Bitbucket UI.

                Bitbucket Cloud UI use Monaco-editor which caters to a wide range of languages and is yet to cover a few more and can be found in the link below: https://microsoft.github.io/monaco-editor/.

                The source files written in a language not supported by Monaco editor will not do Syntax highlighting in Bitbucket UI.

                However, editing the file in Bitbucket UI can do the Syntax highlighting as Editor use CodeMirror - https://codemirror.net/mode/index.html which does support a different set of language than Monaco editor

                Steps to Reproduce

                View file in Bitbucket UI and observe Syntax highlighting 

                Actual Results

                The syntax is not highlighted while checking the source file on the Bitbucket UI

                Expected Results

                The syntax be highlighted while checking the files on the Bitbucket UI regardless of the page

                Workaround:

                Check the file whiles using the "edit" mode

                        Unassigned Unassigned
                        cmysoresuresh Charan Mysore Suresh (Inactive)
                        Votes:
                        12 Vote for this issue
                        Watchers:
                        18 Start watching this issue

                          Created:
                          Updated:

                            Unassigned Unassigned
                            cmysoresuresh Charan Mysore Suresh (Inactive)
                            Votes:
                            12 Vote for this issue
                            Watchers:
                            18 Start watching this issue

                              Created:
                              Updated: