Hey @jdneo :wave: Sourcegraph has been prototyping an LSIF indexer for Java https://github.com/sourcegraph/lsif-java using [**JavaParser**](https://github.com/javaparser/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. `bar` in `foo.bar()`), whereas https://github.com/sourcegraph/lsif-java doesn't (yet, although I made an unsuccessful attempt in https://github.com/sourcegraph/lsif-java/pull/1) - https://github.com/microsoft/lsif-java appears to jump-to-definition into dependencies (with `jdt://` URIs), which could be combined with [monikers](https://github.com/microsoft/language-server-protocol/blob/master/indexFormat/specification.md#project-exports-and-external-imports-monikers) to provide cross-repository and cross-project code intelligence - [Spoon](https://github.com/INRIA/spoon) supports cross-file j2d/refs and is bit easier to use than JavaParser https://github.com/sourcegraph/lsif-java/pull/2 What are your near/long-term plans for this indexer? We're interested in contributing 😄
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:
barinfoo.bar()), whereas https://github.com/sourcegraph/lsif-java doesn't (yet, although I made an unsuccessful attempt in Cross-file j2d/refs scip-code/scip-java#1)jdt://URIs), which could be combined with monikers to provide cross-repository and cross-project code intelligenceWhat are your near/long-term plans for this indexer? We're interested in contributing 😄