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 support for LSIF Typed #394

Merged
merged 2 commits into from
Feb 18, 2022
Merged

Add support for LSIF Typed #394

merged 2 commits into from
Feb 18, 2022

Conversation

olafurpg
Copy link
Member

@olafurpg olafurpg commented Jan 17, 2022

This commit adds the ability to emit LSIF Typed using the following
command:

lsif-java index --output dump.lsif-typed

LSIF Typed is used as the output format as long as the output filename
ends with *.lsif-typed.

Fixes https://github.com/sourcegraph/sourcegraph/issues/31173

@olafurpg
Copy link
Member Author

To run it out locally against another repo:

# 1. start sbt shell
$ sbt
# 2. index a repo
> cli/run index --cwd /Users/olafurpg/dev/sourcegraph/sbt-sourcegraph --output dump.lsif-typed

This commit adds the ability to emit LSIF Typed using the following
command:

```
lsif-java index --output dump.lsif-typed
```

LSIF Typed is used as the output format as long as the output filename
ends with `*.lsif-typed`.
@olafurpg olafurpg marked this pull request as ready for review February 18, 2022 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement DSL to create minimal reproductions for testing LSIF tools
1 participant