Crates.io | scip |
lib.rs | scip |
version | 0.5.1 |
source | src |
created_at | 2022-08-11 15:09:19.256912 |
updated_at | 2024-10-17 05:11:44.148057 |
description | SCIP (pronunciation: "skip") is a language-agnostic protocol for indexing source code, which can be used to power code navigation functionality such as Go to definition, Find references, and Find implementations. |
homepage | |
repository | https://github.com/sourcegraph/scip |
max_upload_size | |
id | 643383 |
size | 347,700 |
SCIP (pronunciation: "skip") is a language-agnostic protocol for indexing source code, which can be used to power code navigation functionality such as Go to definition, Find references, and Find implementations.
This repository includes:
scip
CLI, which makes SCIP indexes
a breeze to work with.If you're interested in better understanding the motivation behind SCIP, check out the announcement blog post.
If you're interested in writing a new indexer that emits SCIP, check out our documentation on how to write an indexer. Also, check out the Debugging section in the Development docs.
If you're interested in consuming SCIP data, you can either use one of the provided language bindings, or generate code for the SCIP protobuf schema using the protobuf toolchain for your language ecosystem. Also, check out the Debugging section in the Development docs.
Several indexers currently emit SCIP data:
For more details about indexers, including LSIF-based indexers, see the Sourcegraph documentation.
Other tools which use SCIP include the Sourcegraph CLI, and the SCIP CLI in this repo.
scip
CLIYou can find binaries for the scip
CLI tool here.
You can also compile a binary locally using:
git clone https://github.com/sourcegraph/scip.git --depth=1
cd scip
go build ./cmd/scip
You can consult the CLI reference or --help
for usage information.
We welcome questions, suggestions as well as code and docs contributions.
For submitting contributions, check out Development.md to better understand project structure and common workflows.
Contributors should abide by the Sourcegraph Code of Conduct.