• 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.

      Include syntax highlighting in diffs.


      Latest update from Atlassian 2023-03-22

      Syntax highlighting on diffs / pull requests is now available! Head to Bitbucket Labs to enable this feature for your user account.

      New in Bitbucket Labs: Syntax highlighting on pull requests

      Note: If you're using a browser plugin that highlights syntax, it is likely incompatible with this feature. We recommend disabling such plugins when using this feature.

            [BCLOUD-8673] Add syntax highlighting to diffs

            Pinned comments

            Syntax highlighting on diffs / pull requests is now available! Head to Bitbucket Labs to enable this feature for your user account.

            New in Bitbucket Labs: Syntax highlighting on pull requests

            Note: If you're using a browser plugin that highlights syntax, it is likely incompatible with this feature. We recommend disabling such plugins when using this feature.

            Dave Parrish [Atlassian] added a comment - Syntax highlighting on diffs / pull requests is now available! Head to Bitbucket Labs to enable this feature for your user account. New in Bitbucket Labs: Syntax highlighting on pull requests Note : If you're using a browser plugin that highlights syntax, it is likely incompatible with this feature. We recommend disabling such plugins when using this feature.

            All comments

            when will this be available for self-hosted enterprise bitbucket?

            Samuel Winter added a comment - when will this be available for self-hosted enterprise bitbucket?

            foconnor added a comment -

            How come this is only for diffs and not viewing code?

            foconnor added a comment - How come this is only for diffs and not viewing code?

            Huy Do added a comment -

            Haha that's great news. I'm the creator of  https://github.com/REslim30/bitbucket-syntax-highlighting. Thanks @Fabien MENAGER for using my plugin. I can now put this project to rest.

            Huy Do added a comment - Haha that's great news. I'm the creator of  https://github.com/REslim30/bitbucket-syntax-highlighting . Thanks @Fabien MENAGER for using my plugin. I can now put this project to rest.

            Fabien MENAGER added a comment - - edited

            @Dave Parrish [Atlassian] What is the list of file types highlighted ?

            Fabien MENAGER added a comment - - edited @Dave Parrish [Atlassian] What is the list of file types highlighted ?

            How can the .cpp files be colored but not even the .h files?

            Victor Ripplinger added a comment - How can the .cpp files be colored but not even the .h files?

            Syntax highlighting on diffs / pull requests is now available! Head to Bitbucket Labs to enable this feature for your user account.

            New in Bitbucket Labs: Syntax highlighting on pull requests

            Note: If you're using a browser plugin that highlights syntax, it is likely incompatible with this feature. We recommend disabling such plugins when using this feature.

            Dave Parrish [Atlassian] added a comment - Syntax highlighting on diffs / pull requests is now available! Head to Bitbucket Labs to enable this feature for your user account. New in Bitbucket Labs: Syntax highlighting on pull requests Note : If you're using a browser plugin that highlights syntax, it is likely incompatible with this feature. We recommend disabling such plugins when using this feature.

            Fabien MENAGER added a comment - - edited

            I used to use this plugin, which worked yesterday, but not anymore (no new version though), I suspect Atlassian changed something, and broke it

             

            Fabien MENAGER added a comment - - edited I used to use this plugin , which worked yesterday, but not anymore (no new version though), I suspect Atlassian changed something, and broke it  

            @dparrish

            How soon? I do not see it in Labs yet.

            Daniel Pasch-Sannapiu added a comment - @dparrish How soon? I do not see it in Labs yet.

            Hi all πŸ‘‹ Bitbucket PM here. Good news - Syntax highlighting on diffs is coming very soon as a Labs (opt in) feature. I'll post an update here when it's ready.

            Thanks for all your votes and comments on this feature request.

            Dave Parrish [Atlassian] added a comment - Hi all πŸ‘‹ Bitbucket PM here. Good news - Syntax highlighting on diffs is coming very soon as a Labs (opt in) feature. I'll post an update here when it's ready. Thanks for all your votes and comments on this feature request.

            Can't believe this can't be done in Bitbucket because of "performance issues", but that all the other systems have it along so many more features. Makes me doubt how much effort they are really investing in the developper experience.

            Alexandre Paquette added a comment - Can't believe this can't be done in Bitbucket because of "performance issues", but that all the other systems have it along so many more features. Makes me doubt how much effort they are really investing in the developper experience.

              dparrish Dave Parrish [Atlassian]
              jcolli2 jarredc (Inactive)
              Votes:
              452 Vote for this issue
              Watchers:
              214 Start watching this issue

                Created:
                Updated:
                Resolved: