<commit_before>[![build status](https://travis-ci.org/refined-bitbucket/refined-bitbucket.svg?branch=test-it)](https://travis-ci.org/refined-bitbucket/refined-bitbucket) <sup>-</sup> [![downloads](https://img.shields.io/chrome-web-store/d/afppminkfnfngihdocacbgeajbbdklkf.svg)](https://chrome.google.com/webstore/detail/refined-bitbucket/afppminkfnfngihdocacbgeajbbdklkf?utm_source=chrome-ntp-icon)

# refined-bitbucket

We all know BitBucket lacks some features that we have in other platforms like GitHub, GitLab and others. Originally inspired on Sindre Sorhus' [Refined Github](https://github.com/sindresorhus/refined-github) extension, _refined-bitbucket_ is born as a collaborative project by a few developers to improve upon those holes, and even add some additional functionality that will enhance the overall user experience.

## Current features

* Adds syntax highlighting for pull requests and commits. [See the full list of enabled languages](https://github.com/refined-bitbucket/refined-bitbucket/blob/dev/src/syntax-highlight/language-ext.js). Missing any language? [Let me know](https://github.com/refined-bitbucket/refined-bitbucket/issues) or submit a pull request!
* Double click on a word to highlight all occurrences.
* ~~Block pull request merging without a minimum number of approvals (defaults to 2 minimum approvals).~~ Removed. [Implemented natively by Bitbucket with "merge checks"](https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html)
* Key binding feature, which allows for quicker navigation through pull requests.
* Button to collapse diffs in Pull Request and Commits view.
* Autocollapse:
    * Add filename patterns in the Options page that you would like the extension to collapse automatically when the pull request or commit loads.
    * Deleted files are automatically collapsed.
* Diff Ignore. Add filename patterns in the Options page that you would like the extension to completely remove when the pull request or commit loads.
* Button to load all failed diffs in pull request and commit view.
* Choose a default merge strategy for your pull requests.
* Check the "Close anchor branch" checkbox by default when creating or editing pull requests.
* Include a `PULL_REQUEST_TEMPLATE.md` file in the default branch of the repository in one of the locations below, and the contents of that file template will replace the default pull request body inserted by Bitbucket when creating a new one.
<commit_msg>Add Prettier badge to README.md<commit_after>[![build status](https://travis-ci.org/refined-bitbucket/refined-bitbucket.svg?branch=test-it)](https://travis-ci.org/refined-bitbucket/refined-bitbucket) 
<sup>-</sup> 
[![downloads](https://img.shields.io/chrome-web-store/d/afppminkfnfngihdocacbgeajbbdklkf.svg)](https://chrome.google.com/webstore/detail/refined-bitbucket/afppminkfnfngihdocacbgeajbbdklkf?utm_source=chrome-ntp-icon)
<sup>-</sup>
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

# refined-bitbucket

We all know BitBucket lacks some features that we have in other platforms like GitHub, GitLab and others. Originally inspired on Sindre Sorhus' [Refined Github](https://github.com/sindresorhus/refined-github) extension, _refined-bitbucket_ is born as a collaborative project by a few developers to improve upon those holes, and even add some additional functionality that will enhance the overall user experience.

## Current features

* Adds syntax highlighting for pull requests and commits. [See the full list of enabled languages](https://github.com/refined-bitbucket/refined-bitbucket/blob/dev/src/syntax-highlight/language-ext.js). Missing any language? [Let me know](https://github.com/refined-bitbucket/refined-bitbucket/issues) or submit a pull request!
* Double click on a word to highlight all occurrences.
* ~~Block pull request merging without a minimum number of approvals (defaults to 2 minimum approvals).~~ Removed. [Implemented natively by Bitbucket with "merge checks"](https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html)
* Key binding feature, which allows for quicker navigation through pull requests.
* Button to collapse diffs in Pull Request and Commits view.
* Autocollapse:
    * Add filename patterns in the Options page that you would like the extension to collapse automatically when the pull request or commit loads.
    * Deleted files are automatically collapsed.
* Diff Ignore. Add filename patterns in the Options page that you would like the extension to completely remove when the pull request or commit loads.
* Button to load all failed diffs in pull request and commit view.
* Choose a default merge strategy for your pull requests.
* Check the "Close anchor branch" checkbox by default when creating or editing pull requests.
* Include a `PULL_REQUEST_TEMPLATE.md` file in the default branch of the repository in one of the locations below, and the contents of that file template will replace the default pull request body inserted by Bitbucket when creating a new one.

{'fraction_non_alphanumeric': 0.08149010477299184, 'fraction_numerical': 0.00446255335661622, 'mean_word_length': 5.248484848484848, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 18, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2030461', 'n_tokens_mistral': 1445, 'n_tokens_neox': 1378, 'n_words': 546}