Sourcegraph 125m 2.6b Decembermillertechcrunch: Sourcegraph is an open-source tool for analyzing code on demand. We’ve all been there: you’re trying to get a project done, but can’t find the documentation or are unsure which implementation of a function you should use, or even worse, you’re dealing with someone else’s code, and can’t figure out how to make it do what you need.
We’ve experienced these problems firsthand, and we built Sourcegraph to solve them. It’s an individualized code search engine setup specifically to make it easier for developers to find what they’re looking for. In fact, we’ve built a lot of features that people have asked us for: code search support in multiple languages, the ability to make and save queries, a free hosted version of the product so you can try it out or use it internally without having to build anything, and more.
Today, we’re releasing Sourcegraph v2.6, with a number of new features for making code search easier and more effective. We’re also announcing a $125M Series B led by Google Ventures to accelerate our growth. The new funding comes after nearly doubling revenue and tripling usage in the last 12 months alone.
New features include:
Code Search in Any Language – Sourcegraph can search your code in any language that’s supported by your editor. We support over 30 languages and currently have a version of the product in development for 10 of them. Today’s release supports C#, C++, Python and Java, with more coming throughout 2018. On top of supporting more languages, we’ve added syntax highlighting across those (C# and TypeScript) so that searches are easier to read.
Rich Previews of API Docs – API documentation is the fastest way to understand how something works, but it’s not always the easiest to find and navigate. We’ve built a new rendering system for API documentation so that you can read and search documentation in a consistent way across languages. The UI varies slightly by language, but in each one, it shows you the class hierarchy for a function or method, as well as its source code and doc comments.
Over-the-Job Training – We are launching a new service to help developers get up to speed faster with the product. It’s set up in collaboration with a number of companies we work with, including Airbnb and Mozilla. It’s similar to what our customers have been asking for, such as code search improvements and better tracking of edits across various parts of the product.
More Search Options – We’ve added a number of new options for searching your code. First, you can type in just the function name or argument names (known as fuzzy search). Second, you can search terms that are inside the program text to help find specific expressions, variables and more. Lastly, you can create your own queries and add them to the results.
Extended Coverage of APIs – More people are using APIs as a way to add functionality to their applications. But there’s still concern about whether the information available in the API docs is accurate or up-to-date, since they’re often updated infrequently. We’ve added more than 20 new APIs that have been approved by the Apache Foundation to correct this problem. Each one has a team of contributors whose job is to keep the docs up-to-date.
A Better Way to Work with Git – Sourcegraph works with a number of source control systems, but we’ve always struggled with Git, partially because of the way it treats whitespace and partially because it forces users to create new queries every time they commit. With git2github , you can choose which parts of your code you want to search using git commits as queries.