Sourcegraph github extension To use the browser extension with your private repositories, you need to set up a private Sourcegraph instance and connect the extension to it. Principles of extensibility for Sourcegraph Sourcegraph provides IDE-like code intelligence (definitions, references, hover tooltips, and search) anywhere you view and review code, such as in GitHub files and pull requests. GitHub Enterprise, GitLab, Bitbucket Server, Bitbucket Data and Phabricator - you need to grant the extension permissions Universal code search (self-hosted). Contribute to jayhack/sourcegraph development by creating an account on GitHub. The output will include a link to a detail page where you can enable Enhances GitHub, GitLab, Phabricator, and other code hosts and code review tools via the Sourcegraph browser extension. Contribute to baryonsci/sourcegraph development by creating an account on GitHub. It is not yet ready for widespread production use. GitHub Enterprise, GitLab, Bitbucket Server, Bitbucket Data and Phabricator - you need to grant the extension permissions Removed the sidebar (used to have "Configuration" and "Extensions") Moved the client settings editor to below the feature flags Added a link to the extension registry to the check box for "Use Sourcegraph extensions" Publishing a Sourcegraph extension is fast and easy. Search, navigate, and review code. GitHub. Contribute to stigtabelse/sourcegraph development by creating an account on GitHub. GitHub Enterprise, GitLab, Bitbucket Server, Bitbucket Data and Phabricator - you need to grant the extension permissions Code Intelligence Platform. You could improve these features, or add new features, just by improving or creating extensions to Sourcegraph. Jun 4, 2025 · Question: Can Cody VS Code Extension Execute and process terminal commands? #8034 New issue Open bobhenkel Adds a button to the Sourcegraph's extension panel and at the top of files in code hosts like GitHub (when the Sourcegraph browser extension is installed) that will open the current file in VS Code. Currently Sourcegraph shows you t Code intelligence hovers pop up on my hover link decorations, yuck #67 slimsag opened this issue Sep 15, 2018 · 3 comments Assignees Labels bug Something isn't working next-release Should be in the next Sourcegraph release requested-by-code-discussions-team Issues relating to code discussions Milestone Beta Copy link Member Universal code search (self-hosted). Connect Sourcegraph to GitHub. 1 or later. From Gitpod VS Code Workspaces: Open the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of your Gitpod VS Code workspace Search for Sourcegraph -> Install and Reload. The Sourcegraph extension architecture refers to the system which allows Sourcegraph client applications, such as the web application or browser extension, to communicate with Sourcegraph Sourcegraph browser extension The open-source Sourcegraph browser extension adds code intelligence to files and diffs on GitHub, GitHub Enterprise, GitLab, Phabricator, and Bitbucket Server. Contribute to sqs/vscode-sourcegraph development by creating an account on GitHub. The Sourcegraph extension architecture refers to the system which allows Sourcegraph client applications, such as the web application or browser extension, to communicate with Sourcegraph Contribute to sourcegraph/jetbrains development by creating an account on GitHub. Find usages: See examples of how a function or type is used across your company’s code as well as open source Sep 2, 2024 · github chrome-extension gitlab firefox-addon ide vscode visual-studio-code browser-extension glitch codesandbox sourcegraph gitpod replit github1s github-ide github-web-ide Updated on May 26 JavaScript Sourcegraph extensions have been deprecated with the September 2022 Sourcegraph release. " Jun 25, 2025 · Meet Sourcegraph for GitHub, an incredibly clever and well-designed Chrome extension that basically bestows upon GitHub skills worthy of modern-day IDEs or code editors. g. As a developer, I would like to be able to toggle on/off seeing blame annotations for all lines in the file. Jan 12, 2024 · When I disable GitHub Copilot and Copilot Chat (which also use onStartupFinished), our activation time as reported by Developer > Show Running Extensions drops from 2-3s to ~600ms, which is almost exactly what Developer > Show Running Extensions reported for GitHub Copilot and Copilot Chat before I disabled them. GitHub Enterprise, GitLab, Bitbucket Server, Bitbucket Data and Phabricator - you need to grant the extension permissions Sourcegraph extensions have been deprecated with the September 2022 Sourcegraph release. sourcegraph. A Sourcegraph extension that adds useful features when viewing files in a Git repository on Sourcegraph, GitHub, GitLab, and other supported code hosts: Git: Show/hide blame: toggles Git blame annotations with each line's last commit, author, date, etc. We intend to write very good tutorials and publish our API docs soon. Hi, I am trying to install the Cody Extension in my Visual Studio 2022 x64 version. , to show blame only on the selected line). 1 or later Universal code search (self-hosted). Integration with third-party developer tools via the Sourcegraph extension API. It involves building (compiling and bundling) one or more TypeScript files into a single JavaScript file. The repo and the docs below are kept to support older Sourcegraph versions A Sourcegraph extension that adds more GitHub integration features to Sourcegraph. Learn more. Sourcegraph browser extension The open-source Sourcegraph browser extension adds code navigation to files and diffs on GitHub, GitHub Enterprise, GitLab, Phabricator, Bitbucket Server and Bitbucket Data Center. log for these kinds of logs in a published extension, extension may pollute the console with unnecessary logs when things are working as expected Sourcegraph browser extension The open-source Sourcegraph browser extension adds code intelligence to files and diffs on GitHub, GitHub Enterprise, GitLab, Phabricator, and Bitbucket Server. "The extension API you wish your code host had. I see The extension authoring experience is undocumented. The Sourcegraph browser extension allows you to open repos, compare revisions and search code directly from Chrome's Omnibox for faster development on GitHub and GitHub Enterprise Server with support coming to GitLab, Phabricator, Bitbucket Server and Bitbucket Data Center in the future. Code search and navigation tool (self-hosted). Set up your development environment Sourcegraph extensions are usually written in TypeScript and are distributed as a single bundled JavaScript file that runs on the client. Inspired by awesome-python, which is inspired by awesome-php. Sourcegraph extensions have been deprecated with the September 2022 Sourcegraph release. This allows us to test network request, adding hover tooltip information and adding decorations to the DOM. Worse, this request is not only done on t We would like to show you a description here but the site won’t allow us. Apr 14, 2023 · Download Sourcegraph for Firefox for Firefox. 15. At this point, your extension has been built and sent to Sourcegraph. The Sourcegraph extension architecture refers to the system which allows Sourcegraph client applications, such as the web application or browser extension, to communicate with Sourcegraph Take your Sourcegraph extension development further by viewing our sample extensions. 10. Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Adding Sourcegraph as a browser search engine With the Sourcegraph browser extension (recommended) The easiest way is to install the Sourcegraph browser extension, which automatically configures the location bar src shortcut to search Sourcegraph. How to troubleshoot a Sourcegraph extension This guide gives specific instructions for troubleshooting extensions developed by Sourcegraph. However when I try to install, it only finds the x86 visual studio installations and not the 2022 version. Contribute to WooodHead/sourcegraph development by creating an account on GitHub. log for these kinds of logs in a published extension, extension may pollute the console with unnecessary logs when things are working as expected ⚠️ Deprecation notice Sourcegraph extensions have been deprecated with the September 2022 Sourcegraph release. Extensions can be configured to activate and contribute UI elements only upon the presence of a specific language, languages or glob pattern. An extension's contributions are defined in its package. com and on your own self-hosted Sourcegraph instance. If you've used Sourcegraph before, you've used a Sourcegraph extension. Each demonstrates different capabilities of the Sourcegraph extension API. Oct 25, 2018 · The extension API lets you add after-line decorations. When you edit a Sourcegraph extension for VSCode. We would like to show you a description here but the site won’t allow us. Sourcegraph browser extension The open-source Sourcegraph browser extension adds code intelligence to files and diffs on GitHub, GitHub Enterprise, GitLab, Phabricator, and Bitbucket Server. About Sourcegraph's browser extensions: MOVED. GitHub: Pull requests: see a table of GitHub pull requests for the current repository Extension Settings This extension contributes the following settings: sourcegraph. - Sourcegraph extension for Firefox · xhacker/awesome-github-extensions@8c662ba Sourcegraph browser extension The open-source Sourcegraph browser extension adds code intelligence to files and diffs on GitHub, GitHub Enterprise, GitLab, Phabricator, and Bitbucket Server. Documentation for Sourcegraph, the code intelligence platform. Enhances GitHub, GitLab, Phabricator, and other code hosts and code review tools via the Sourcegraph browser extension Integration with third-party developer tools via the Sourcegraph extension API Sourcegraph extension API: use and build extensions that enhance reading and reviewing code in your existing tools. 32 Platform information: Chrome Extension version: v21. Sourcegraph extensions are written in TypeScript and are distributed as bundled JavaScript files that run on the client Used to produce a directory of Sourcegraph extensions for customers to publish to their private registries. go. Notifications You must be signed in to change notification settings Fork 16 A Sourcegraph extension that adds more GitHub integration features to Sourcegraph. Adds a button to the Sourcegraph's extension panel and at the top of files in code hosts like GitHub (when the Sourcegraph browser extension is installed) that will open the current file in Sublime Text. Browser extension The Sourcegraph browser extension supports GitHub. Existing Sourcegraph customers The Cody editor extensions work with: Sourcegraph Cloud Sourcegraph Enterprise Server (self-hosted) instances on version 5. Builtin Sourcegraph extension commands This document lists the predefined commands that extensions can execute to perform actions on Sourcegraph or the client application. If you're as excited Dec 13, 2023 · Bug: Warning: Ignored prior context items due to context limit when using VSCode extension #2352 The Sourcegraph browser extension supports GitHub. 1603 Steps to reproduce: Install the Chrome Sourcegraph extension Connect the extension to your Sourcegraph self- Sourcegraph browser extension The open-source Sourcegraph browser extension adds code intelligence to files and diffs on GitHub, GitHub Enterprise, GitLab, Phabricator, and Bitbucket Server. com extension registry contains all publicly available Sourcegraph extensions. sgdev. The Sourcegraph Chrome extension keeps you in flow while coding, with: Go-to-definition: When you’re browsing files or reviewing pull requests on GitHub, you can use the extension to click on anything in your code to jump to its definition, or hover to get documentation tooltips. Just select any code inside a GitHub repository and use the Sourcegraph tooltip to execute a search. Make it work on your code host • GitHub: No action Helping developers search, understand, and write code in complex codebases with AI - Sourcegraph Jun 25, 2025 · Meet Sourcegraph for GitHub, an incredibly clever and well-designed Chrome extension that basically bestows upon GitHub skills worthy of modern-day IDEs or code editors. Sourcegraph is a web-based code search and navigation tool for dev teams. Start by installing and configuring the required software. Contribute to james-cht/sourcegraph development by creating an account on GitHub. In addition to these commands, extensions may also define their own commands. Sourcegraph extension contribution points Sourcegraph extensions contribute actions and menu items to the user interface of Sourcegraph (and other applications, such as code hosts, using the browser extension). Code Intelligence Platform. This extension requires all git repos to be cloned and available on your local machine Apr 14, 2023 · Download Sourcegraph for Firefox for Firefox. bitbucket. Sourcegraph version: 3. com - no action required. view repo, view fi • GitHub Enterprise: click the extension icon and update the "Sourcegraph URL" Make it work for private code To use the browser extension with your private repositories, you must set up a private Sourcegraph instance and connect it to the extension. app. The Sourcegraph. Or see a demo video of code coverage overlays. log console. There is currently no way to do this in the extension API. Sourcegraph browser extension The open-source Sourcegraph browser extension adds code intelligence to files and diffs on GitHub, GitHub Enterprise, GitLab, Phabricator, Bitbucket Server and Bitbucket Data Center. Subscribe to this repository as we'll be adding many more samples in the future Improve this page Add a description, image, and links to the sourcegraph-extension topic page so that developers can more easily learn about it. Find answers. Contribute to BTFProdigy/sourcegraph development by creating an account on GitHub. The Sourcegraph extension API allows extension of Sourcegraph functionality through specific extension points. This extension currently only works on GitHub (and GitHub Enterprise), not on Sourcegraph or other code hosts. To do this, we built a way to show information from language servers (for 20+ languages) in the places you view and review code. Additionally, activated Sourcegraph extensions will be able to add information to Bitbucket server code views and pull requests, such as test coverage data or trace/log information. The output will include a link to a detail page where you can enable Code Intelligence Platform. Run yarn pre:test (note that this will break the extension if you're currently running it on a Sourcegraph instance) Run yarn test Note that because yarn pre:test breaks the extension, after running tests, you'll have to run yarn pre Sourcegraph extensions have been deprecated with the September 2022 Sourcegraph release. url: The Sourcegraph instance to use. The repo and the docs below are kept to support older Sourcegraph versions Adds a button to the Sourcegraph's extension panel and at the top of files in code hosts like GitHub (when the Sourcegraph browser extension is installed) that will open the current file in your editor of choice. Jun 27, 2017 · Our extension now provides fast, multi-repository grep search with regular expressions. Contribute to JsJ1977/sourcegraph development by creating an account on GitHub. See https://docs. 1 or later Existing Sourcegraph customers The Cody editor extensions work with: Sourcegraph Cloud Sourcegraph Enterprise Server (self-hosted) instances on version 5. Contribute to jdorfman/sourcegraph development by creating an account on GitHub. A curated list of awesome browser extensions for GitHub. Install the Sourcegraph is the code understanding platform that lets developers and agents search, understand and automate changes across codebases. If you use console. org, which has the native integration) Hover buttons contributed by Sourcegraph (eg. Building a language-specific extension tutorial NOTE: Sourcegraph extensions are being deprecated with the upcoming Sourcegraph September release. - codecov/sourcegraph-codecov Take your Sourcegraph extension development further by viewing our sample extensions. Subscribe to this repository as we'll be adding many more samples in the future From Gitpod VS Code Workspaces: Open the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of your Gitpod VS Code workspace Search for Sourcegraph -> Install and Reload. You can create a release to package software, along with release notes and links to binary files, for other people to use. Contribute to f1rstmehul/sourcegraph development by creating an account on GitHub. When installed in your web browser, it adds hover tooltips, go-to-definition, find-references, and code search to files and pull requests viewed on GitHub and GitHub Enterprise. What? This extension simply displays the version of Sourcegraph you are connected to in the hover tooltip and after the line you are hovering. Publishing a Sourcegraph extension is fast and easy. Jul 3, 2019 · Steps to reproduce: Visit a Bitbucket server instance with the browser extension or native integration activated (eg. Universal code search (self-hosted). Aug 1, 2025 · Existing Sourcegraph customers The Cody editor extensions work with: Sourcegraph Cloud Sourcegraph Enterprise Server (self-hosted) instances on version 5. 1 or later To use the browser extension with your private repositories, you need to set up a private Sourcegraph instance and connect the extension to it. Contribute to Julian1975/sourcegraph development by creating an account on GitHub. Learn more about releases in our docs Universal code search (self-hosted). Open repos, compare revisions and search code directly from Chrome's Omnibox for faster development. For example, try hovering over tokens or toggling Git blame on tuf_store. json extension manifest. log for these kinds of logs in a published extension, extension may pollute the console with unnecessary logs when things are working as expected You can create a release to package software, along with release notes and links to binary files, for other people to use. Specify your on-premises Sourcegraph instance here, if applicable. It is called by the extension runtime if the extension's activation conditions are satisfied. These features (and many others) are provided by extensions. Contribute to sqwu/sourcegraph development by creating an account on GitHub. Contribute to deepto98/sourcegraph development by creating an account on GitHub. A Sourcegraph extension is a single JavaScript file that has an exported activate function. May 11, 2020 · Currently, the extensions registry page usually takes a long time to load, sometimes even up to minute, because of the GraphQL request to query extensions. sourcegraph. Code discussions is an experiment by Sourcegraph. You can use these extensions on Sourcegraph. High-level: Writing a Sourcegraph extension is very similar to writing an e A Sourcegraph extension is a single JavaScript file that has an exported activate function. Supports 20+ languages. log can be helpful to debug Sourcegraph extensions locally, but sometimes you'll want to see logs from users of a published extension, which can help with debugging issues that are hard to reproduce. Starting with the September 2022 release of Sourcegraph, search export is a core part of the product. Safely publish packages, store your packages alongside your code, and share your packages privately with your team. See code coverage information from Codecov on GitHub, Sourcegraph, and other tools. Provides tooltips and navigation capabilities in Bash scripts. The repo and the docs below are kept to support older Sourcegraph versions. This extension requires all git repos to be cloned and available on your local machine. Using the Sourcegraph Search extension To get started, click the Sourcegraph (Wildcard) icon in the VS Code Activity Bar. Sourcegraph's Phabricator integration adds Sourcegraph code intelligence and search to Phabricator diffs and code files, so you get go-to-definition, find-references, hover tooltips, and code search embedded natively into Phabricator. The repo and the docs below are kept to support older Sourcegraph versions Sourcegraph browser extension The open-source Sourcegraph browser extension adds code intelligence to files and diffs on GitHub, GitHub Enterprise, GitLab, Phabricator, and Bitbucket Server. Extensions need to know the currently selected line or range (e. com/integration/browser_extension. Adds code intelligence to GitHub, GitLab, Bitbucket Server, and Phabricator: hovers, definitions, references. xxygzo hmxc thyhb nyedgif acsem kmeus pfi bpjytdk tpipqv kipap ogztg vgrchb snmifl ddaul kewpg