Hello all 👋 It’s Dave from the Bitbucket Cloud product team. Today we’re excited to introduce a small but important improvement to code review: Syntax highlighting on pull requests. It’s one of our highest-voted feature requests, and you can enable it today in Bitbucket Labs.
Once you switch on the feature, pull request diffs will automatically include highlighted syntax for hundreds of the most common programming languages.
Software developers spend many hours each week reviewing code, and highlighted syntax makes code that much more legible. The Bitbucket Cloud team has been dogfooding this feature for several weeks, and it’s made our code reviews noticeably smoother. We think your teams will appreciate it too.
To switch on syntax highlighting for your user account:
Note: The syntax highlighting feature is disabled by default, so you’ll need to switch it on if you want to use it.
We’re leaving this feature in Bitbucket Labs for now while we work out a few known issues. Notably, this feature will likely conflict with third-party browser extensions that add functionality to the Bitbucket pull request page. If you experience problems after turning on this feature, try disabling those extensions.
Once we’ve ironed out known issues, we’ll roll this feature out to all users automatically. In the meantime, you can toggle the feature in Labsif you’d like to opt in or out at this time.
If you have feedback on this feature – or if you've found a bug – we'd love to hear from you. Head to the Bitbucket help menu > “Give feedback” to share your thoughts with us.
Dave Parrish _Atlassian_
Product Manager, Bitbucket
Atlassian
San Francisco
23 accepted answers
18 comments