Sourcegraph blog

  • Sourcegraph 3.16: Search past releases, get started with campaigns, and enjoy syntax highlighting improvements

    Explore, navigate, and better understand all code, everywhere, faster with Sourcegraph Universal Code Search. Uber, Lyft, Yelp, and other enterprises rely on Sourcegraph to improve developer productivity and manage large-scale code changes. 📌 Introducing version contexts to search past releases… Read more

  • The find-and-replace Odyssey, a programmer's guide

    So much of what we do as programmers boils down to automating the tedium out of our work. We'd like to spend our lives focusing on the design of beautiful abstractions and algorithms, but before we can get to that, we have to do the dirty work—and do it quickly. Whether you are a newbie or a… Read more

  • Our ABCs: Always Be Coding children's book free to download

    With many family homes now being an office (and perhaps a school as well), we wanted a new and novel approach for embracing the spirit of the United States' annual "Take Our Kids to Work" day. We love what we’ve come up with and hope you will too—a new digital children’s book titled "Our ABCs… Read more

  • Sourcegraph 3.15: Campaigns beta available, GitHub repository permissions, experimental AND/OR operators, and improved observability

    Explore, navigate, and better understand all code, everywhere, faster with Sourcegraph Universal Code Search. Uber, Lyft, Yelp, and other enterprises rely on Sourcegraph to improve developer productivity and manage large-scale code changes. 📣 Campaigns beta available to all site admins 🔑 Faster… Read more

  • Remote software development made easier

    Sourcegraph transitioned from remote-first to all-remote early 2020. In this white paper, we share some tips and tricks on how to live your best distributed work life and a summary of why using Sourcegraph makes remote software development easier. Read more

  • Code intelligence on sourcegraph.com

    At Sourcegraph we are working toward a long term goal of making code intelligence results both fast and precise. Today, Sourcegraph provides basic code intelligence for many languages using our search engine. It's fast, requires zero configuration, and covers many use cases, but the results are not… Read more

  • Universal Code Intelligence for GitHub with the Sourcegraph browser extension

    Universal Code Intelligence for GitHub means bringing code navigation features such as hover tooltips, go to definition, and find references to every code view and pull request, supporting every popular language, and all public and private repositories on both GitHub.com and GitHub Enterprise. Read more

  • Our journey to all-remote

    On February 20, 2020, we officially moved out of our amazing San Francisco office and became an all-remote company. Few people have worked at an all-remote company before, and I frequently get questions—especially from candidates—about what led to this decision. Read more

  • The home offices of Sourcegraph

    I'm always curious to see other people's desks (who isn't?) to get a glimpse of their setup, and after seeing the home office desks of Basecamp, I immediately wanted to have the same collection for Sourcegraph. As an all-remote company, we only have home office setups and they range from "sparse"... Read more

  • Enable native code intelligence for GitLab with the Sourcegraph integration

    With the GitLab native code intelligence integration from Sourcegraph, you can bring IDE-like features such as hover tooltips and go to definition to every GitLab code view. The below screencasts show you how to enable the Sourcegraph integration for both GitLab CE/EE and GitLab.com. Native code… Read more

  • Sourcegraph 3.14: Faster repository permissions, excluding forks and archived repositories by default, and Docker Compose deployment

    Explore, navigate, and better understand all code, everywhere, faster with Sourcegraph Universal Code Search. Uber, Lyft, Yelp, and other enterprises rely on Sourcegraph to improve developer productivity and manage large-scale code changes. 🔑 Faster syncing of GitLab and Bitbucket Server repository… Read more

  • Universal Code Search for GitLab

    Sourcegraph Universal Code Search enables developers to explore and better understand all code, faster, with contextual code intelligence. This screencast (with accompanying audio) shows how to connect and configure Sourcegraph Universal Code Search for public and private repositories on GitLab CE… Read more

  • Universal Code Search for GitHub

    Sourcegraph Universal Code Search enables developers to explore and better understand all code, faster, with contextual code intelligence. This screencast walks you through (with accompanying audio) how to connect and configure Sourcegraph Universal Code Search for public and private repositories... Read more

  • Sourcegraph's Series B: Universal Code Search for every developer

    Today is a big milestone for Sourcegraph. We've raised $23M in Series B funding, led by David Sacks at Craft Ventures. Our existing investors at Goldcrest, Redpoint, Hanover, and Burst also participated. We're excited to welcome David Sacks of Craft Ventures to our board of directors. David helped… Read more

  • Sourcegraph 3.13: Interactive search mode, structural search toggle, and campaigns with custom code execution

    Quickly explore and better understand all the code everywhere with Sourcegraph Universal Code Search. With Sourcegraph, every company has access to the same kind of tools that Google and Facebook developers use every day. 🔎 Interactive search mode 🏗 Code-aware structural search toggle 📣 Campaigns… Read more

  • Going beyond regular expressions with structural code search

    We're introducing a new way to search code at Sourcegraph with structural code search. Structural code search lets you match nested expressions and whole code blocks that can be difficult or awkward to match using regular expressions. What is structural code search? Structural code search is the… Read more

  • Sourcegraph 3.12: Match case toggle, draft campaigns, and exciting experimental features

    Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most advanced technology companies. With Sourcegraph, every company has access to the same kind of tools that Google and Facebook developers use every day. We're excited to announce Sourcegraph… Read more

  • Sourcegraph 3.11: Structural search, removed management console, language statistics, and NPM credentials campaign

    Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most advanced technology companies. With Sourcegraph, every company has access to the same kind of tools that Google and Facebook developers use every day. 🏗 Introducing code-aware structural… Read more

  • Fully type-safe Web Workers with zero boilerplate

    TypeScript and ECMAScript have some of the most beautiful constructs and syntaxes to do parallel, non-blocking programming—but unfortunately, only for standard APIs like fetch in the browser or file IO in Node. When implementing anything CPU-bound in TypeScript, offloading it into a different… Read more

  • How Sourcegraph helped ensure production stability at Lyft during their monolith to microservices decomposition

    Learn how Sourcegraph code search helped Lyft ensure (largely) issue-free production deploys during their monolith to microservices decomposition Read more

  • Code navigation in GitHub pull requests

    Code navigation helps you review code in GitHub pull requests more quickly and effectively. Hovers show you documentation and type information for symbols. Go to definition jumps you to where a function (or other symbol) is defined. Find references lists everywhere a function (or other symbol) is… Read more

  • SoFi moves fast on hundreds of microservices with Sourcegraph

    With Sourcegraph, SoFi can innovate and move quickly while keeping up with hundreds of microservices. Read more

  • Sourcegraph 3.10: Improved search autocompletion, native GitLab integration, and search and replace campaigns

    Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most advanced technology companies. With Sourcegraph, every company has access to the same kind of tools that Google and Facebook developers use every day. 🔬 Improved autocompletion for search… Read more

  • GitLab integrates Sourcegraph code navigation and code intelligence

    Check out the below video where Quinn sat down with GitLab CEO Sid Sijbrandij to discuss the native GitLab integration, and why Sourcegraph's code intelligence means better code reviews and improved code quality for GitLab Enterprise customers and open source projects on GitLab.com. Over 100,00… Read more

  • Convoy improved their developer on-boarding with Sourcegraph

    Since 2015, Convoy has quickly grown to over 500 employees. Sourcegraph helps them improve their developer on-boarding process. Read more

  • At Convoy, Software Engineers and Data Scientists work better together

    At Convoy, Sourcegraph is transforming how engineers and data scientists collaborate, resulting in greater efficiency and improved data integrity. Read more

  • Why Sourcegraph switched from cloud SaaS to on-premises, self-hosted software

    “Trust is great. Control is better.” - German proverb In December 2017, Sourcegraph went from being a traditional cloud-hosted Software as a Service (SaaS) product to an on-premises, self-hosted product. This blog post covers what drove our decision and what challenges we encountered. It explains… Read more

  • Sourcegraph 3.9: Literal search by default, multi-project LSIF code intelligence, Grafana dashboards, and configuration

    Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most advanced technology companies. With Sourcegraph, every company has access to the same kind of tools that Google and Facebook developers use every day. We're excited to announce Sourcegraph… Read more

  • Writing an LSIF Indexer

    Want to use LSIF for precise code intelligence on Sourcegraph? See "LSIF: Fast and precise code intelligence (Sourcegraph documentation)". This article explores what it would take to write an LSIF indexer. Along the way, we will learn a little bit about parsing, walking abstract syntax trees, sco... Read more

  • Sourcegraph 3.8: Search UI improvements, monitoring tools, code change campaigns, and LSIF-based code intelligence

    Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most advanced technology companies. With Sourcegraph, every company has access to the same kind of tools that Google and Facebook developers use every day. We're excited to announce Sourcegraph… Read more

  • Code intelligence with LSIF

    Want to use LSIF for precise code intelligence on Sourcegraph? See "LSIF: Fast and precise code intelligence (Sourcegraph documentation)". Since the last code intelligence update, we have shifted our efforts away from improving language servers. We found that language servers were hard to develop… Read more

  • Sourcegraph liveblogging the 2019 Strange Loop conference

    Sourcegraph is proud to be hosting the first ever liveblog for Strange Loop 2019, and we're looking for attendees to help contribute. Read more

  • How Sourcegraph code search enabled large scale refactoring at Quantcast

    Founded in 2006, Quantcast's engineering team had amassed thousands of repositories. Learn how after deploying Sourcegraph, Quantcast was able to do major refactors with confidence. Read more

  • Sourcegraph 3.7: Improved performance, efficiency, accuracy, and reliability

    Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most exacting technology companies. With Sourcegraph, every company has access to the same kind of tools that Google and Facebook developers use every day. 🏎 Symbol search performant at scale… Read more

  • Sourcegraph liveblogging at GopherCon 2019!

    For the third year, Sourcegraph is proud to host the official liveblog for GopherCon and we're looking for attendees who want to contribute. Is that you? Read more

  • Sourcegraph 3.6: Bitbucket Server plugin, search performance improvements, and quick links

    Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most exacting technology companies. With Sourcegraph, every company has access to the same kind of tools that Google and Facebook developers use every day. 🌎 Native code intelligence with… Read more

  • How Thorn sunsets legacy applications safely with Sourcegraph

    Thorn builds technology to defend children from sexual abuse, helping law enforcement reduce investigation times by 60%, ensuring that more children are found, faster. Sourcegraph is helping Thorn with their mission, by making it safer to deprecate legacy applications—searching all repositories i... Read more

  • Sourcegraph 3.5: Powerful new search filters, improved configuration, and Bitbucket Server repository permissions

    Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most exacting technology companies. With Sourcegraph, every company has access to the same kind of tools that Google and Facebook developers use every day. ⏎ Multi-line search with newline… Read more

  • Sourcegraph 3.4: Performance and configuration enhancements for managing 30,000+ repositories

    Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most exacting technology companies. With Sourcegraph, every company can get access to the same kind of tools that Google and Facebook developers use every day. We're excited to announce… Read more

  • Tip: Using Sourcegraph code search to help teams migrate to CircleCI 2.0

    In this post, we'll explain how Sourcegraph code search can be used to report on the progress of upgrading CircleCI config files to the 2.0 format. CircleCI 2.0 officially came out of beta in July 2017, introducing a versioned config file () to replace the previous file. A likely scenario could be… Read more

  • Sourcegraph 3.3: Improving the user experience for site admins

    We're excited to announce Sourcegraph 3.3. Sourcegraph is a code search and navigation tool (self-hosted, open source, and cross-repository). Read on for the details, and thanks to our customers and community for reporting issues and providing feedback. You’re helping to make each Sourcegraph… Read more

  • Advanced TypeScript tooling talk at FOSDEM 2019

    Tooling has always been a focus for TypeScript and a large reason for its success. TypeScript code intelligence is available across many editors and even web-based tools, all provided by the same service TypeScript ships out-of-the-box with the compiler itself. This presentation gives a tour and… Read more

  • Sourcegraph 3.2: (Mostly) no new features - Improved stability, setup, and documentation

    Sourcegraph is an open source, self-hosted, cross-repository code search and navigation tool, with an efficient web interface and "feels-like-native" integration into your code host. Install or upgrade Sourcegraph. Developing Sourcegraph in the open with a public product roadmap, and having a… Read more

  • Sourcegraph one-click install available from DigitalOcean's new Marketplace

    Today, DigitalOcean released their new Marketplace, a platform for partners such as Sourcegraph to provide trusted, pre-configured Droplets that install in one-click and are ready in 60 seconds or less. What is Sourcegraph? Sourcegraph is a code search and intelligence tool for developers. It lets… Read more

  • Sourcegraph 3.1 released

    Sourcegraph 3.1 is now out! This release includes stability and documentation improvements, plus an easy query builder for searching your code (with useful query examples). Also, mark your calendars: our new fixed release schedule means you get a new Sourcegraph release on the 20th of each month… Read more

  • Announcing Sourcegraph 3.0

    Sourcegraph 3.0 is now shipping! This release comes with HUGE improvements so you can search and navigate all your organization's code more quickly, with code intelligence (go-to-definition and find-references) for all languages. What is Sourcegraph? Sourcegraph is an open source, self-hosted, cr... Read more

  • Sourcegraph 3.0 beta is now available

    Update: Sourcegraph 3.0 is now released. Beta instances should update now. We've removed the 3.0 beta announcement text here to avoid confusion, but you can view the original 3.0 beta announcement if needed. Read more

  • Improving language support in 2019

    Improving language support in 2019 Read more

  • New GraphQL Sourcegraph extension

    New GraphQL Sourcegraph extension Read more

  • Planned unavailability of Java and PHP language servers on Sourcegraph.com

    Code intelligence for Java and PHP (and other experimental languages) will be temporarily unavailable for public code on Sourcegraph.com starting Friday, November 30, as we transition to a new, more extensible way of adding language support using Sourcegraph extensions. Only public code on… Read more

  • How companies buy software for developers

    Source: https://xkcd.com/1205/ XKCD can teach us a lot about how the world works. The chart above — known as a sensitivity analysis in accounting and finance (or a in Microsoft Excel) — clearly illustrates how changes to independent variables or input assumptions can impact a final outcome. Simply… Read more

  • Announcing Sourcegraph 2.13

    Announcing Sourcegraph 2.13 Sourcegraph 2.13 ships today, with several improvements: Indexed search option for single-node Docker container deployment to speed up searches (previously Enterprise-only, now free and open source) More ways to specify which GitHub and GitHub Enterprise repositories to… Read more

  • Sourcegraph on the future of coding podcast episode 32

    Our CEO @sqs (Quinn Slack) was on the Future of Coding podcast this week to talk about basic developer human rights, the Sourcegraph master plan, and the future of developer tools. As a developer, you have these questions you need answered: How do I do this thing in the code? Why is it built this… Read more

  • Sourcegraph 2.12: Build your own Sourcegraph extensions, GitLab integration, code discussions, and self-service checkout

    We are building the best code search and browsing tool for your team to help you write, review, and ship code better. Our mission is to bring the future sooner by bringing the best tools to developers everywhere. Our announcement this month that Sourcegraph is now open source is one way we will get… Read more

  • Code Intelligence in Vim

    Do you use Vim and miss the powerful features for navigating your code that Sourcegraph gives you in your browser? Code intelligence in Sourcegraph is powered by language servers that implement the Language Server Protocol. This means you can install these language servers locally and get code… Read more

  • How we run end-to-end tests in Buildkite CI

    End-to-end tests are an important part of our testing infrastructure at Sourcegraph. At the top of the testing pyramid, their job is to ensure key user flows work properly from the user interacting with the browser all the way to backend services that work behind the scenes. However, they pose a… Read more

  • Sourcegraph 2.11: Easier configuration and deployments, and Sourcegraph extensions

    Our mission is to build the best code search and browsing tool for your team to help you write the highest quality software possible. Here’s new, what’s changed, and what’s fixed. Simplified browser extension configuration Deploy Sourcegraph to Kubernetes with plain YAML Webhooks for manual… Read more

  • The pain that minimal version selection solves

    Minimal version selection is an idea that Russ Cox proposed for how to resolve the dependencies of Go modules. When installing or updating dependencies, minimal version selection always selects the minimal (oldest) module version that satisfies the overall requirements of a build. Minimal version… Read more

  • How To Support Your Employee Through Pregnancy, Maternity Leave and the Transition Back To Work

    Today was my first day back to work at Sourcegraph after my 3 1/2 months* long maternity leave. I consider myself lucky to be working at a company that is family friendly and has made my journey to parenthood much easier than expected. I decided to share some of the points I believe Sourcegraph and… Read more

  • Sourcegraph liveblogging at GopherCon 2018!

    We are Sourcegraph, known to our Developers as "a great source code browsing/discovery tool, especially for large codebase like k8s", and "like Google's internal code search but for rest of us". We help developers write better software by giving them IDE like features in code hosts such as GitHub… Read more

  • The August 2018 Docker Hub outage and the impact on Kubernetes deployments

    Docker announced that the Docker Hub and Docker Store (backed by the same Docker Registry) will be down (totally offline) from 11:00 Pacific Time 25 August with 15-45 minutes (expected) downtime. You may be thinking “I use Kubernetes, doesn't this only affect people executing ? Well yes, but that... Read more

  • Sourcegraph browser extensions are now open source

    Sourcegraph's browser extensions for Chrome and Firefox are now open source in sourcegraph/sourcegraph. These popular browser extensions add code intelligence (hovers, go to definition, find references, find implementations, and soon much more) to every website where you read code — including Git... Read more

  • Hack time at Sourcegraph

    One of my favorite things about Sourcegraph is the fact that we are a team of developers building a product for developers. This means that everyone on the team has product intuition and can participate in planning what we are going to work on for our next release. Normally we spend time reviewing… Read more

  • Sourcegraph 2.10: Smoother tooltips, rendered architecture diagrams, and better repository syncing

    We're working hard to build the best code search and browsing tool for your team, so you can write, review, and ship code better. In this month's release, we focused on improving the user experience and repository syncing for Sourcegraph's integrations with GitHub, GitHub Enterprise, Bitbucket… Read more

  • Sourcegraph 2.9: Scaling code search and user rollout in large organizations

    In Sourcegraph 2.9, we focused on improving the code search, rollout, and deployment experience for organizations with 100s and 1,000s of developers and repositories. We're building Sourcegraph to be the best way for developers to search and browse code, and we're thankful for all the feedback… Read more

  • Our project-based interview experiment for hiring engineers

    At Sourcegraph, we’re building not only a great product for engineers, but also a great, inclusive company for engineers to be a part of. Over the last few months, we’ve been experimenting with our hiring process and wanted to share our experience so far. (Our last experiment was putting open roles… Read more

  • Code intelligence for 13 more languages, with first-class LSP support

    Update: Sourcegraph now uses Sourcegraph extensions for language support. This blog post has been removed to avoid confusion. We're still eager to sponsor people to build and improve open source, LSP-based language servers. Contact us if you're interested, either as a part-time effort or to join ... Read more

  • Sourcegraph 2.8: 19 languages, ridiculously huge monorepos, LSP, a GraphQL API, and more

    Sourcegraph 2.8 is out today, with support for more languages, huge monorepos, and more! Sourcegraph is a code search and intelligence tool that helps your team code more productively. With Sourcegraph, developers can find code examples, view references/callers, locate definitions, etc., across all… Read more

  • Why Chris joined Sourcegraph

    Having worked at GitHub and spent more time than is probably warranted tweaking my dotfiles, I consider myself a developer tools enthusiast. Recently, I found myself spending more and more of my free time smoothing out my development process, including hacking on auto-import for Haskell in VS Code… Read more

  • Sourcegraph 2.7: code intelligence in pull requests and commit diffs

    Sourcegraph 2.7 ships today, with tons of new features and improvements to help your team build better software. Get code intelligence in seconds with no setup, view diffs with code intelligence directly in Sourcegraph, and get more information when finding references. This release comes with many… Read more

  • How Sourcegraph builds Sourcegraph

    Our product, Sourcegraph, lets software teams search and explore their code, so naturally we think a lot about how to help software teams ship better software faster. As we've grown, we've learned a lot from GitHub, Visual Studio Code, GitLab, and other teams who have shared their internal proces... Read more

  • Powerful code search for Bitbucket Server

    Sourcegraph + Bitbucket Today, we're bringing fast, powerful code search to the thousands of development teams on Bitbucket Server. With Sourcegraph 2.6, we've built out native support for Bitbucket Server to make it easier to get code search across all your Bitbucket Server repositories. Follow… Read more

  • Introducing Sourcegraph 2.6: Symbol search for 75+ languages

    We’re excited to announce Sourcegraph 2.6, with tons of new features and improvements to help your team build better software. Search for and jump directly to symbols, search for the code you need more quickly, and set up Sourcegraph to search across all of your code--all available now. This rele... Read more

  • When is it ok to recover from panics in Go?

    In Go, it is idiomatic to have explicit error handling. This means that many functions return an in addition to the expected result (e.g. strconv.ParseBool). Go code can also panic and recover, which is similar to throwing and catching exceptions in other languages. In Go, panic should be reserved… Read more

  • Sourcegraph 2.5: Introducing code change alerts

    Monitor code changes with Google Alerts-style notifications, get code intelligence in reviews/PRs, and search over thousands of repositories in hundreds of milliseconds—all with Sourcegraph 2.5, shipping today. This release also includes other highly requested features, such as native GitLab supp... Read more

  • Announcing Sourcegraph 2.4: free, powerful search for your private code

    Sourcegraph 2.4 is here. It is now free for unlimited users and repositories, can be installed in minutes with a single command, and is easily configurable in the new web-based site admin. This release also includes many performance and bug fixes, plus a better interface for monitoring search… Read more

  • Introducing Sourcegraph 2.3

    Search code over all of your company's repositories, save and reuse common search queries and scopes, and do it all more quickly with style. This release also includes previews of diff/commit search and author/date filters, which help you debug issues and find usage examples in your company’s code… Read more

  • Great code search for AWS CodeCommit

    Install Sourcegraph to get great code search on AWS CodeCommit Sourcegraph brings great code search and understanding abilities to development teams using AWS CodeCommit. Code search helps your engineering team find usage examples, debug errors, reuse existing libraries and packages, and understand… Read more

  • Great code search, bad code search

    This is inspired by the classic essay Good Product Manager/Bad Product Manager. Great code search is so fast and relevant that you use it constantly while coding. It’s one of your top keybindings. Bad code search is slow and stale, and you only find it useful a few times per week. If you haven’t… Read more

  • Regexp queries, directories, OpenID Connect, and more updates to Sourcegraph

    We've been hard at work on improvements to Sourcegraph to give you great code search on your company's code. Here's what's new and improved: Code search: There is now a directory listing view with the last Git commit for each subdirectory and file. Query terms are now interpreted as regexps, not… Read more

  • More powerful code search on Sourcegraph

    Today, we're releasing more powerful code search on Sourcegraph.com and Sourcegraph. You can use operators such as repo: and file: to restrict your search to certain repositories and files (by regular expression match on their name). For example, repo:foo will restrict your query to repositories… Read more

  • Announcing Sourcegraph 2.0

    Update: This blog post has been edited to remove references to outdated features. We’ve been hard at work on some major improvements to how you search, browse, and review code. Today we’re excited to announce several big new features. Introducing Sourcegraph Already used by many of our customers ... Read more

  • Code intelligence on GitHub embedded code snippets

    At Sourcegraph, we think you deserve code intelligence whenever you’re looking at code. So, when GitHub introduced embedded code snippets for GitHub issues, we quickly updated the Sourcegraph Chrome extension to add code intelligence to these snippets. Code intelligence on embedded code snippets… Read more

  • File tree navigation on GitHub? Yes, please.

    We’ve added a file tree to GitHub so that you can quickly explore an entire repository and jump between files without taking your hands off the keyboard. FileTree Get started by downloading the Sourcegraph for GitHub Chrome extension And then jump into a repository https://github.com/hootsuite… Read more

  • Better GitHub code search and browsing with the Sourcegraph Chrome extension

    Faster, smoother GitHub code browsing with the updated Sourcegraph Chrome extension. We’re excited to announce more improvements to the Sourcegraph Chrome extension. More than 10,000 developers use it to browse and search code on GitHub with the power of an IDE. In addition to the new features… Read more

  • Sourcegraph, code intelligence, and the Language Server Protocol

    Pick your favorite Java repository and a revision and file at random (or try this one). Visit that file in Sourcegraph and within seconds, you can jump to definition (Ctrl/⌘-click), find all references (right click), search for symbols (Ctrl/⌘-p), and view usage examples drawn from other projects… Read more

  • Code Intelligence for Java now available on Sourcegraph

    Today, we announce general availability for Java on Sourcegraph. If you write Java, this means that you can now use Sourcegraph to: Explore code without losing your place in your editor Get IDE-like functionality to your code review tool Learn from usage examples drawn from across the open source… Read more

  • See how many people use a Java library, with Sourcegraph badges

    Update (September 20, 2017): Viewing a list of repositories that refer to another repository is currently disabled. It will be added back soon. Viewing function call sites across repositories is still supported. We’re excited to announce that Sourcegraph “used by” badges now support Java libraries… Read more

  • Introducing code search in Sourcegraph

    In-repository code search is now available in Sourcegraph. Simply click the magnifying glass icon above the file tree, type your search term, and click enter. Once you select a result, you’ll get full code intelligence, including our info panel whenever you click a method, variable or struct. In… Read more

  • How Caddy auto-detects HTTPS interception

    Matt Holt is the creator of the popular Caddy Web Server. Caddy is called what it is because it acts like a compartment for all your server things. Most people use its HTTP server, but Caddy can also serve DNS, and there are a number of other plugins that extend Caddy’s functionality. 1*dxC5SLwJzx… Read more

  • Code Intelligence now available for Java on Sourcegraph.com

    Today, we’re enabling Code Intelligence on Sourcegraph.com for Java projects that use Maven. Our preview release of Java means you can jump to definition, find references, and hover over for docs on many of your favorite Java repositories — all without configuring a single editor plugin or clonin... Read more

  • Part 1: How Sourcegraph scales with the Language Server Protocol

    The problem of Code Intelligence and the need for an open standard Update: Part 2 of this series is now published. Sourcegraph lets you view any line of code in your web browser with all the navigation features of an IDE and more. That includes both classic abilities — like jump-to-definition, find… Read more

  • Part 2: How Sourcegraph scales with the Language Server Protocol

    Making Code Intelligence “just work” In my last post, I introduced the Language Server Protocol as the open source protocol that we at Sourcegraph believe will enable a new set of developer tools powered by Code Intelligence. Code Intelligence, if you recall, is just shorthand for jump-to-def find… Read more

  • See how many people use your library, with Sourcegraph badges

    Update: See "Repository badges" in Sourcegraph documentation for the latest information about this feature. Read more

  • Go code intelligence on Sourcegraph: now in general availability (GA)

    First, some background: Beyang and I have deep respect for how Google builds software. Beyang interned there, and I've worked with Googlers on many open source projects, including Chromium. What’s their secret? How are they so good? Ask any Google developer, and they’ll give much of the credit to… Read more

  • Sourcegraph founders featured on Forbes “30 under 30” list

    I have been fortunate in my career to work with some amazing founders and CEOs. Lloyd Tabb, Ben Porterfield, and Frank Bien at Looker are building the data platform that I have been craving since I started working in technology. Nat Friedman and Miguel de Icaza at Xamarin brought mobile development… Read more

  • Poetically simple code review

    (Note: if you want to skip the poetry and just check out the project, click here) Begin code review. Too many lines, what to do? Hmm. LGTM? Code review is tedious. there's a better way to review fast but ensure good code quality: One-click jump-to-def and hover over for docs. Save time and focus… Read more

  • Toward a URL for every function in the world

    What’s the best semantic and future-proof way to link to a piece of code? There's been some interesting discussion about the right way, and it’s something we think about a lot at Sourcegraph as we build a better way for developers to discover and understand code. The consensus is that when you’re… Read more

  • Sourcegraph: the best way to read code just got better

    Today, we’re announcing a new edition of Sourcegraph that makes it even faster and easier to answer your everyday programming questions. If you code in Go, check it out now. If you use another language, sign up for the beta — we’ll have news for you in the next couple of weeks! If you’re new to… Read more

  • Liveblogging GitHub Universe

    Hi, we’re Sourcegraph, the code search engine for Go and Java that lets you jump to def and find refs across all your code on GitHub. You may remember us from such developer conference liveblogs as Gophercon, FOSDEM, and dotGo. This year, we’re excited to announce we’re liveblogging GitHub Universe… Read more

  • GitHub Universe liveblog: “Open source for National Security”

    Ian Lee of Lawrence Livermore National Laboratory talks about how LLNL is using, producing, and encouraging open source in government (slides here). Open source software and national security — two topics you don’t hear together too often. But there's a lot of work in government agencies being done… Read more

  • InnerSource and reaping the benefits of open source behind your firewall, a discussion at GitHub Universe

    Engineering leaders from Bloomberg, Walmart Labs, Line, HP, IBM, and GitHub talk about open source inside enterprise (or “inner source”). We paraphrase the key points here. 1*OIAqPdJH9 SsxxfzTDu0SA “InnerSource” is a new term for something that programmers have been doing for a long time. It’s ab... Read more

  • 5 short stories from open source: pains in gains

    Lynn Langit, Cloud & Data Architect Director of Teaching Kids Programming (slides) 1*3eFc2KNwHBjrHFpD vjbhA She tells the story of Matt, a fifth grade history teacher who wrote some bacon-related code in Swift Lynn’s daughter has been coding since age 8 and taught Matt how to code. Matt now teaches… Read more

  • GitHub Universe liveblog: Alvind Salehi, Federal Government

    The federal government has embraced open source software. Earlier this year, they released the Federal Source Code Policy. When they released it back in March, they received some of the highest number of comments in history, thanks to GitHub. They received around 2,000 public comments. 1*J2Mnd… Read more

  • A conversation with Bret Taylor, CEO of Quip, at GitHub Universe

    A concise recap of a “fireside chat” with Bret Taylor, co-creator of Google Maps, CTO of Friend Feed, CEO and co-founder of Quip. 1*v90JbRraqWznmWkkDKmLzg Q: First computer? A: Compact Portable, about the size of a suitcase. The lid flipped out of the keyboard. Had one game, which took up all disk… Read more

  • GitHub Universe liveblog: CEO’s keynote

    GitHub’s invention — wasn’t invented invented in a vacuum. An evolution of great ideas from the past (like Henry Ford, Isaac Newton, etc.) GitHub didn't invent the pull request. So what was the “big idea” for GitHub? It boils down to tools and people. Our key insight was that “developers are people… Read more

  • Why we open sourced our uptime monitoring system

    About a month ago, Sourcegraph released Checkup, an open source, self-hosted uptime monitoring system written by Matt Holt. Following its release, a lot of people asked us how we were using Checkup at Sourcegraph. Today, we’re sharing our public status page, powered by Checkup, and laying out some… Read more

  • What we can learn from the IBM System/360, the first modular, general-purpose computer

    At Sourcegraph, we believe building for the future requires learning the lessons of the past. This is the first in a series of blog posts that cover historical anecdotes about software engineering that have inspired us as we build tools for the modern developer. We’re sharing these, because we th... Read more

  • Thyme: a simple CLI to measure human time and focus

    It’s like a CPU profiler, but for your productivity rather than your machine’s Do you ever think about how to make yourself a more productive programmer? At Sourcegraph, this is a question we think about every day. Our entire mission is to make your life as a developer easier and more efficient… Read more

  • How to make your open source project thrive

    Andrey Petrov (@shazow) spoke at the Sourcegraph office about lessons learned from his successes and “many failures” (his phrase) creating open source projects. Andrey is author of the popular urllib3 library (explore urllib3 on Sourcegraph) and several other popular open source libraries. During… Read more

  • Building a product, one user interview at a time

    From the very beginning at Sourcegraph, it’s been our goal to build a product so helpful that people could never go back to programming the old way. Sourcegraph helps developers discover and understand code, and to address such a complex need requires us to deeply understand our users. We’d like to… Read more

  • IPFS: The Permanent Web

    Juan Benet (@juanbenet) spoke at the Sourcegraph Hacker Meetup about his project, “IPFS: The Permanent Web” (slides and video). IPFS is a bold attempt at evolving the Internet’s infrastructure. Here’s how Juan describes it to Sourcegraph: IPFS is a global, versioned, peer-to-peer file system. It… Read more

  • 5 easy ways to start contributing to Docker using Sourcegraph

    There are many benefits to contributing to a popular open source project like Docker: You earn recognition for improving a project used by many people. You get to collaborate with other amazingly smart people in the open source community. You become a better programmer yourself through the process… Read more

  • Appdash, an open source perf tracing suite

    Every developer knows they should instrument their app to identify perf bottlenecks, but it’s hard to actually get around to doing it — especially when you’re focused on shipping the latest and greatest features of your site. 0*jXkIPsoJBjXY80cs Today we’re announcing Appdash, an open source multi… Read more

  • Browse & review code on GitHub like in an IDE, with the Sourcegraph Chrome extension

    Wouldn't it be awesome if you could review, browse, and search code on GitHub as though you were in an IDE, with jump-to-definition, doc tooltips, and cross-references? We think so. That’s why we built the Sourcegraph Chrome extension for GitHub. Update (June 22, 2016): Added support for pull… Read more

  • GitHub Universe liveblog: Clarence Wardell, U.S. Digital Service

    Innovation fellow of the U.S. Digital Service, a.k.a. the “president’s startup.” His time as innovation fellow started in 2014, right around the time the conversation around law enforcement and Ferguson was coming to a tipping point. Big demand for better data around policing, especially with… Read more

  • Getting started with Sourcegraph

    Use Sourcegraph to discover and understand code better There's a gold mine of code available to programmers, but choosing the right library and understanding how to use it can be tricky. We created Sourcegraph, a fast, semantic code search and cross-reference engine, to help developers like you… Read more

  • Google I/O talk: Building Sourcegraph, a large-scale code search & cross-reference engine in Go

    This was originally a talk at Google I/O 2014. Check out the slides and YouTube video. Thanks to the Go team for inviting us! What is Sourcegraph? Sourcegraph is a large-scale, multi-language code search and cross-reference engine that indexes hundreds of thousands of open source repositories… Read more

  • How tech startups test, organize, and review their code

    Building software is hard. We hosted a casual dinner here at the Sourcegraph office in downtown San Francisco for ten developers from leading startup software teams. At the dinner, the teams shared a behind-the-scenes look at their processes (and frustrations): testing, deployment, and code reviews… Read more

  • The pain of code review: how different teams manage, scale, and perform code reviews

    We invited ten developers from leading tech startups around the Bay Area to join us for an “off-the-record” dinner to discuss the practice of code review (and what we want in an ideal code review process). Below is a wrap-up of the salient points from our dinner. Given the off-the-record nature of… Read more

  • The Sourcegraph developer release: A better way to discover and understand code

    Today we’re excited to announce a step toward giving every team the power to build better software — the developer release of Sourcegraph, the fast, semantic code search and cross-reference engine. As developers, we always wanted a better way to discover and understand code: Why can’t your code h... Read more

  • Why vacation at tech companies should be mandatory: better code, happier people

    Can a policy that banks use to combat insider fraud also make tech companies produce better products and happier employees? Sure. At Sourcegraph, our mandatory vacation policy requires everyone to completely disconnect from work for at least 2 weeks each year — no exceptions. 0*oDIH90jQ4ZzUANWM… Read more

  • The Sourcegraph Test: 12 more steps to better code

    Do you use the best tools money can buy? We ask ourselves that a lot at Sourcegraph. It’s one of the questions in The Joel Test, Joel Spolsky’s classic 12-question benchmark of your team’s software engineering practices. Since he published the test in 2000, the “best tools money can buy” have… Read more