https://github.com/workiva/lsif_indexer
https://github.com/workiva/lsif_indexer
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/workiva/lsif_indexer
- Owner: Workiva
- License: other
- Archived: true
- Created: 2020-12-08T21:43:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-07T21:17:43.000Z (almost 3 years ago)
- Last Synced: 2025-06-26T22:39:22.688Z (12 months ago)
- Language: Dart
- Size: 76.2 KB
- Stars: 3
- Watchers: 27
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
> [!WARNING]
> This repo has been deprecated, and it's functionality replaced by [scip-dart](https://github.com/Workiva/scip-dart). Please refer to that repo for generating precise code intelligence for dart.
# lsif_indexer
An [LSIF] indexer for Dart source code. Uses some mechanisms from package:lsif-dart, but
rewritten from scratch and significantly simpler.
## Quick Start
Activate lsif_indexer:
```bash
$ pub global activate -sgit https://github.com/Workiva/lsif_indexer
```
Run the indexer on a package:
```bash
$ pub global run lsif_indexer -o dump.lsif
```
Optionally provide:
| Command | Abbreviation | Description | Default |
| --- | --- | --- | --- |
| `output` | `o` | Specify the output file | Terminal standard output |
| `root` | `r` | Specify the root of the project you are indexing | Current directory |
## Resources
- The LSP/LSIF [specification] - not as specific as it might be.
- A Sourcegraph document on [writing an indexer] has some explanations.
[LSIF]:https://lsif.dev/
[specification]:https://microsoft.github.io/language-server-protocol/specifications/lsif/0.4.0/specification/
[writing an indexer]:https://docs.sourcegraph.com/code_intelligence/explanations/writing_an_indexer