-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hey @jdneo 👋 Sourcegraph has been prototyping an LSIF indexer for Java https://github.com/sourcegraph/lsif-java using JavaParser, and I'm curious about the pros/cons of using Eclipse JDT compared to JavaParser. It'd be great to combine efforts here!
From my brief research:
- https://github.com/sourcegraph/lsif-java is ~10x faster
- https://github.com/microsoft/lsif-java supports jump-to-definition on fields/methods of an object (e.g.
barinfoo.bar()), whereas https://github.com/sourcegraph/lsif-java doesn't (yet, although I made an unsuccessful attempt in Cross-file j2d/refs sourcegraph/scip-java#1) - https://github.com/microsoft/lsif-java appears to jump-to-definition into dependencies (with
jdt://URIs), which could be combined with monikers to provide cross-repository and cross-project code intelligence - Spoon supports cross-file j2d/refs and is bit easier to use than JavaParser Switch to Spoon sourcegraph/scip-java#2
What are your near/long-term plans for this indexer? We're interested in contributing 😄
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request