cmd

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

README

SCIP Code Intelligence Protocol

SCIP (pronounciation: "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:

  • A protobuf schema for SCIP.
  • Rich Go bindings for SCIP: This includes many utility functions to help build tooling on top of SCIP.
  • Auto-generated bindings for TypeScript, Rust and Haskell.
  • The scip CLI makes SCIP indexes a breeze to work with.

SCIP CLI reference

Usage:
  scip convert [--from=<path>] [--to=<path>]
  scip stats [--from=<path>]
  scip snapshot [--from=<path>] [--output=<path>]
  scip --version
  scip -h | --help

Options:
  --from=<path>   Input file for conversion [default: index.scip].
  --to=<path>     Output file for conversion [default: dump.lsif].
  --output=<path> Output directory [default: scip-snapshot].
  --version       Show version.
  -h --help       Show help text.

A single dash path ('-') for --from (--to) is interpreted as stdin (stdout).

The 'convert' subcommand currently only supports conversion from SCIP to LSIF.

Contributing

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL