Adds code intelligence to GitHub, GitLab, and other hosts: hovers, definitions, references. For 20+ languages.
Sourcegraph Extension
• Code intelligence on your code host:
* Hover tooltips with documentation and type information
* Go to definition
* Find references
• Integrations with third-party services like Codecov coverage overlays, open-in-editor buttons and many more with Sourcegraph extensions
• Browser shortcut (src + Space) that performs the search on your Sourcegraph instance
It works for 20+ languages on public and private code on popular code hosts (see below).
MAKE IT WORK ON YOUR CODE HOST:
• GitHub - No action required. Your extension works here by default.
• GitHub Enterprise, GitLab, Bitbucket Server and Phabricator - grant additional permissions in the extension menu
Browser extension docs: https://docs.sourcegraph.com/integration/browser_extension
MAKE IT WORK FOR PRIVATE CODE:
To use the browser extension with your private repositories, you need to set up a private Sourcegraph instance and connect it to the extension.
Installation docs: https://docs.sourcegraph.com/admin/install
WHERE TO START?
After adding the extension you install it, try it out on any of these public repositories:
• Go: https://github.com/gorilla/mux/blob/9e1f59/mux.go or https://github.com/dgrijalva/jwt-go/pull/152/files#diff-f615844d3497ff38db57e459d6ef657bL48
• Java: https://github.com/google/guava/blob/581ba1/guava/src/com/google/common/collect/ImmutableList.java
• TypeScript: https://github.com/angular/angular/blob/a2878b/packages/benchpress/src/reporter/console_reporter.ts or https://github.com/sindresorhus/got/pull/917/files#diff-02301bc46e8b878f10e9a8339efb7de7R176
• C#: https://github.com/paiden/Nett/pull/76/files#diff-e969e1315b2cb01bab80b2860be0d87eR52
• Python: https://github.com/ageitgey/face_recognition/blob/b8fed6/examples/facerec_on_raspberry_pi.py
This extension is open source: https://github.com/sourcegraph/sourcegraph/tree/main/client/browser
Source Manifest.json
How to download and manually install Sourcegraph extension for Chrome
Looking for a way to install Sourcegraph 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 Sourcegraph extensions manually, this article outlines two simple methods to effortlessly install Sourcegraph extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download Sourcegraph extension and manually install through Drag &Drop
If you ever need to manually install a Sourcegraph 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 Sourcegraph Extension by clicking the "Download CRX" button on the website.
Look for the Sourcegraph extension you wish to install. Go to the website and download the Sourcegraph extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Sourcegraph 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 Sourcegraph 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 Sourcegraph extension for Chrome and install in Developer Mode
This is another method to install Sourcegraph 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 Sourcegraph extension file
Select and download the Sourcegraph 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 Sourcegraph 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 Sourcegraph 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 Sourcegraph 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 Sourcegraph extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
SimpRead - Reader View 100,000+ 2100 ★ 1.2MiB
Octotree - GitHub code tree 100,000+ 1139 ★ 3.54MiB
Refined GitHub 100,000+ 213 ★ 572KiB
Enhanced GitHub 100,000+ 59 ★ 47.01KiB
OctoLinker 100,000+ 110 ★ 184KiB
Gitako - GitHub file tree 100,000+ 78 ★ 1.96MiB
GitZip for github 100,000+ 170 ★ 367KiB
GitCodeTree 100,000+ 38 ★ 489KiB
Octohint 100,000+ 10 ★ 1.26MiB
GitHub Hovercard 100,000+ 41 ★ 121KiB
Smart TOC 100,000+ 100 ★ 81.44KiB
稀土掘金 100,000+ 339 ★ 4.66MiB
FeHelper(前端助手) 100,000+ 321 ★ 2.72MiB
GitHub Isometric Contributions 100,000+ 102 ★ 101KiB
Git History Browser Extension 100,000+ 8 ★ 19.4KiB
Omni - Bookmark, History, & Tab Manager 100,000+ 63 ★ 1.91MiB
Markdown Here 100,000+ 367 ★ 534KiB
Vimium 100,000+ 4468 ★ 272KiB
GitHub Repository Size 100,000+ 80 ★ 12.9KiB
RSSHub Radar 100,000+ 60 ★ 1.54MiB
Notifier for GitHub 100,000+ 54 ★ 75.23KiB
LeetCode Helper by labuladong 100,000+ 87 ★ 258KiB
Pinbox - 跨平台收藏 100,000+ 93 ★ 1.11MiB
File Icons for GitHub and GitLab 100,000+ 48 ★ 460KiB
User reviews
Yury Ershov (ID: 000000e2c395e56b) Voted 1 ★ - Updated 07/25/2023
Виталий Дмитриев (ID: 0000004a6fa07ab8) Voted 5 ★ - Updated 02/19/2023
root zero (ID: 0000000be837255e) Voted 5 ★ - Updated 09/03/2021
Wu Ting (ID: 0000008c20e1d5c5) Voted 5 ★ - Updated 08/10/2021
wala Hertz (ID: 0000005c35a35a85) Voted 5 ★ - Updated 11/02/2020