scip_dart 1.0.6 copy "scip_dart: ^1.0.6" to clipboard
scip_dart: ^1.0.6 copied to clipboard

generates scip bindings for dart files

scip-dart #

Experimental spike on a scip indexer for dart

Designed to be a replacement for lsif_indexer, with better coverage and reliability

Installation #

dart pub global activate scip_dart

Usage #

The following command will output a index.scip file

dart pub global run scip_dart ./path/to/project/root

Note: by default, only ./lib is indexed. This can be extended to include other paths using --path/-p

dart pub global run scip_dart \ 
  -p ./lib \ # path relative to project root
  -p ./test \
  ./path/to/project/root

Indexing test directories will impact performance of the indexer

This file can be analyzed / displayed using the scip cli

scip print ./index.scip
scip snapshot

Analysis can be uploaded to sourcegraph using the src cli

src code-intl upload -file=index.scip -github-token="<your gh token>"