Extension to display diff tree for Bitbucket

Latest Version

Version
2.4
Update
June 18, 2024
Size
105KiB
Developer
Category
Users
1,000+
Rating
4.81356 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

Bitbucket Diff Tree Extension

Bring the DiffTree back from Bitbucket Server to Bitbucket Cloud

v1.0.5:
----------
* Support showing code changes as a tree structure in the following pages:
- Branches
- Create pull request
- View pull request
* Allow enable diff tree extension permanently

v1.0.6
----------
* Allow collapse/expand the diff tree region

v1.0.7
----------
* Navigate to corresponding comment when clicking on the \"new comment notification\" area at the bottom right corner
* Display diff tree when the viewer selects \"ignore whitespace\"

v1.0.8
----------
* Option to compact empty middle packages
* Show diff tree on commits page

v1.1:
* Allow collapsing / expanding all folders
* Fix for tab size and nasty css bug which breaks alignments

v1.2:
* Track files have been reviewed by clicking on the \"...\" icon on the left of the files

v1.3:
* Show new version indicator for Bitbucket Diff Tree

v1.3.1:
* Fix bug: Should navigate to the correct file based on the hash of the url (if any)

v1.4:
* Allow resizing the diff tree

v.1.5:
* Allow searching files and folders

v1.6:
* Unset the \"reviewed\" status of a file if its contents changed

v1.7:
* Allow filtering files by reviewed, unreviewed and commented statuses

v1.8.0:
* Grant \"tabs\" permission when needed to comply with Google Chrome \"Use of permissions\" policy
https://developer.chrome.com/webstore/program_policies#permissions

v2.0:
* Support new pull request experience

v2.2:
* Support new pull request experience starting from 09 Jun 2024.

v2.3:
* Show the number of comments next to file name.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx","name": "Bitbucket Diff Tree","description": "Extension to display diff tree for Bitbucket","version": "2.4","manifest_version": 2,"icons": {"16": "icon16.png","48": "icon48.png","128": "icon128.png"},"background": {"scripts": [ "js/background.js" ],"persistent": false},"browser_action": {"default_popup": "popup.html"},"permissions": ["storage"],"optional_permissions": [ "tabs","https://bitbucket.org/*"],"content_scripts": [{"js": ["libs/jquery.min.js","libs/jstree/jstree.min.js","libs/jquery-resizable.js","libs/jquery.md5.js","js/namespaces.js","js/models/treeNodeModel.js","js/models/pullRequestModel.js","js/helpers/hashingHelper.js","js/helpers/htmlHelper.js","js/helpers/pullRequestHelper.js","js/helpers/localStorageHelper.js","js/helpers/treeHelper.js","js/observers/newCommentObserver.js","js/observers/fileChangesObserver.js","js/content.js"],"css": ["libs/jstree/jstree.min.css","css/content.css"],"web_accessible_resources": ["images/vsizegrip.png"],"matches": ["https://bitbucket.org/*" ]}]}
Read more

How to download and manually install Bitbucket Diff Tree extension for Chrome

Looking for a way to install Bitbucket Diff Tree extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Bitbucket Diff Tree extensions manually, this article outlines two simple methods to effortlessly install Bitbucket Diff Tree extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Bitbucket Diff Tree extension and manually install through Drag &Drop

If you ever need to manually install a Bitbucket Diff Tree extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Bitbucket Diff Tree Extension by clicking the "Download CRX" button on the website.

Look for the Bitbucket Diff Tree extension you wish to install. Go to the website and download the Bitbucket Diff Tree extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Bitbucket Diff Tree extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Bitbucket Diff Tree extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Bitbucket Diff Tree extension for Chrome and install in Developer Mode

This is another method to install Bitbucket Diff Tree extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Bitbucket Diff Tree extension file

Select and download the Bitbucket Diff Tree extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Bitbucket Diff Tree extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Bitbucket Diff Tree extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Bitbucket Diff Tree extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Bitbucket Diff Tree extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Refined Bitbucket Extension · Developer Tools 1,000+ 51 ★ 339KiB

icon

Quick JIRA Extension · Productivity 1,000+ 41 ★ 44.15KiB

icon

Bitbucket code review Extension · Developer Tools 1,000+ 0 ★ 72.91KiB

icon

Atlassian Pull Request Notifier Extension · Productivity 1,000+ 5 ★ 1.29MiB

icon

Bitbucket (+ others): absolute commit date Extension · Developer Tools 1,000+ 12 ★ 12.6KiB

icon

OctoLinker Extension · Developer Tools 1,000+ 110 ★ 184KiB

icon

Bitbucket Server Extension Extension · Developer Tools 1,000+ 22 ★ 197KiB

icon

BitBucket Pull Request Toggle Buttons Extension · Developer Tools 1,000+ 1 ★ 84.88KiB

icon

Sourcegraph Extension · Developer Tools 1,000+ 169 ★ 8.22MiB

icon

Git Pull Request Templates Extension · Developer Tools 1,000+ 3 ★ 64.11KiB

icon

JetBrains Toolbox Extension Extension · Developer Tools 1,000+ 119 ★ 243KiB

icon

Refined GitHub Extension · Developer Tools 1,000+ 213 ★ 572KiB

icon

Better Pull Request for GitHub Extension · Developer Tools 1,000+ 211 ★ 405KiB

icon

AWS Extend Switch Roles Extension · Developer Tools 1,000+ 82 ★ 82.44KiB

icon

Octotree - GitHub code tree Extension · Developer Tools 1,000+ 1139 ★ 3.54MiB

icon

Bitbucket Syntax Highlighting Extension · Developer Tools 1,000+ 2 ★ 35.96KiB

icon

Xdebug helper Extension · Developer Tools 1,000+ 429 ★ 70.13KiB

icon

Apollo Client Devtools Extension · Developer Tools 1,000+ 266 ★ 490KiB

icon

GitLab - Tree view for code Extension · Developer Tools 1,000+ 15 ★ 23.06KiB

icon

Tree Explorer for Github Extension · Developer Tools 1,000+ 11 ★ 43.13KiB

icon

DevTools Theme: Zero Dark Matrix Extension · Developer Tools 1,000+ 545 ★ 56.82KiB

icon

Pretty Pull Requests (Github) Extension · Developer Tools 1,000+ 21 ★ 412KiB

icon

Gitako - GitHub file tree Extension · Developer Tools 1,000+ 78 ★ 1.96MiB

icon

File Icons for GitHub and GitLab Extension · Developer Tools 1,000+ 48 ★ 460KiB

User reviews

icon

YL Cheng (ID: 0000000c7afe44a1) Voted 5 ★ - Updated 12/08/2022 Perfect!

icon

Thomas Ott (ID: 00000076176b5b97) Voted 4 ★ - Updated 05/06/2022 Nice extension; thank you for your work! It would be awesome to have an option where only the file selected in the diff-tree is displayed (but formerly viewed files are not). So, when choosing a different file in the diff three, the file viewed before should be hidden again, and only the selected file should be displayed to the right. However, thanks again for providing this extension to us :)

icon

Jorcelino Júnior (ID: 000000e0c7050c77) Voted 5 ★ - Updated 01/14/2022 Muito bom!

icon

Andrei (ID: 0000001c9285b8d4) Voted 5 ★ - Updated 12/17/2019 Helpful for reviews with many changed files. Not perfect (e.g. keyboard shortcuts seem to be missing, can't mark a complete folder as reviewed with one click), but very helpful.

icon

James Domagalski (ID: 0000002e003b2fbc) Voted 5 ★ - Updated 12/10/2019 This extension makes performing code reviews so much easier. Love being able to focus on individual files and flagging them as reviewed.