Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add history of code intelligence #1628

Merged
merged 6 commits into from
Sep 23, 2020
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions handbook/engineering/code-intelligence/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ The Code Intelligence team builds tools and services that provide contextual inf

- Robust, extensible, and scalable infrastructure to index code across all languages, keep those indexes up-to-date, and efficiently resolve code intelligence queries against all indexed code.

## History

The origin of our work is the core of Sourcegraph, first implemented as [srclib](https://github.com/sourcegraph/srclib) a code analysis tool developed by our co-founders [Beyang](https://github.com/beyang) and [Quinn](https://github.com/sqs) in 2015.

2016 - We evolved our strategy to utilize LSP (Language Server Protocol) to power the new Sourcegraph code search engine. LSP is a user oriented protocol and requires an implementation of a language server for each programming language.

2017 - Over time we started to experience some issues with LSPs; they can be difficult to deploy, slow at runtime, slow community adoption, and slow to develop!
aidaeology marked this conversation as resolved.
Show resolved Hide resolved
aidaeology marked this conversation as resolved.
Show resolved Hide resolved

2018 - We added a new basic code intelligence that is built on search-based heuristics to allow us to provide quick and good enough i.e. "imprecise" support for the [most popular programming languages](https://sourcegraph.com/extensions?query=category%3A%22Programming+languages%22).

2019 - While looking for more efficient alternatives to LSPs we found LSIF (Language Server Index Format) and realized we could bring back good parts of srclib with pre-indexing and pre-computed answers to queries.
aidaeology marked this conversation as resolved.
Show resolved Hide resolved

2020 and beyond - Code Intelligence is the platform for all features at Sourcegraph! This team is responsible for how sourcegraph understands code and for providing data to power search, campaigns and code insights. Our API is the point of discovery for the knowledge graph for all source code.
aidaeology marked this conversation as resolved.
Show resolved Hide resolved

## Vision

To be the point of discovery for the knowledge graph for all source code.
Expand Down