-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Implement LSIF support #3098
Comments
I tried to have a look of where I'd need to get started on this, but I'd love to help, though I'm not familiar with this code base yet. |
This should allow proper cross-repo references for public github code (it seems to maybe require opt-in by generating LSIF data and someone with collaborator access uploading it) on sourcegraph. I'd not be surprised if they'd at least sponsor generating the LSIF data for the most popular crates, or even more than only those. |
Hm, I'd say this is explicitly out of scope for the time being, we should do this eventually, but it's not useful to keep the issue open. |
10181: Begining of lsif r=HKalbasi a=HKalbasi This PR adds a `lsif` command to cli, which can be used as `rust-analyzer lsif /path/to/project > dump.lsif`. It now generates a valid, but pretty useless lsif (only supports folding ranges). The propose of this PR is to discussing about the structure of lsif generator, before starting anything serious. cc `@matklad` #8696 #3098 Co-authored-by: hamidreza kalbasi <hamidrezakalbasi@protonmail.com>
The LSIF 0.4 spec is now available at https://microsoft.github.io/language-server-protocol/specifications/lsif/0.4.0/specification/
The text was updated successfully, but these errors were encountered: