17

I like the code coloring in Github so that keywords gets highlighted when view source code.

But in Bitbucket i see very light color and almost no diff between codes , keywords etc.

very bad color coding for all languages

Is there any way to chnage that or its default for all

5

A Chrome extension called "Refined Bitbucket" provides the syntax highlighting you ask for:

Install it from the Chrome web store and it will automatically make changes to BitBucket's Pull Request pages to implement syntax highlighting, amongst many other features.

It's also available for Firefox.

3
  • Explaining HOW a given utility or software tool fixes a problem is required when suggesting such solutions to questions here. Merely linking a software product and saying "it works" just looks very spammy, and so such posts are generally discouraged. Please include a how-to and explanation to make this a better and more useful answer that looks less like spam. Apr 25 '19 at 15:22
  • @music2myear thanks for the feedback however Im not sure how to action it. It's a chrome extension so I don't think i need to explain how to install it. Then it adds syntax highlighting as the question asked. Not sure how I can add clarification?
    – Evans
    Apr 26 '19 at 9:13
  • Adding to your answer just what you've placed in this comment would be a few very large steps in the right direction. Apr 26 '19 at 14:42
2

Unfortunately, the answer is no, you cannot customize the colors used for code highlighting on Bitbucket. Several other users have asked about this (see here), and Atlassian staff have stated that it is not available. Unfortunately, it appears that they are unlikely to implement it given that the issue has been marked as resolved. Although the link I provided you is from a post from 2011, there is no additional evidence I was able to find that suggested any other discussions have taken place regarding the feature.

1
  • This answer is now out of date. Although not possible natively, there is a chrome extension called Refined Bitbucket that achieves the desired result. See @Evan's answer. Oct 8 '19 at 14:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.