-
Notifications
You must be signed in to change notification settings - Fork 29
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
Partially precise result on a Scala codebase #482
Comments
Thank you for reporting! I'm able to reproduce. A workaround is to include the argument
We haven't fully reached feature parity when using the new SCIP format when it comes to dealing with situations where multiple symbols are defined in the same file (which happens for case classes). It will be necessary to use |
I was just looking at this, and from looking at the code, I don't believe this is supported via scip-java/scip-java/src/main/scala/com/sourcegraph/scip_java/buildtools/SbtBuildTool.scala Lines 44 to 59 in 5a49a8b
Same with the sbt plugin actually: It looks like a workaround would be to use |
This allows the user to pass in `--output dump.lsif` or just `dump.lsif` or another valid output type to output other types than the default scip which was happening before. If used the same way as before with no argument the behavior is the same. Refs: sourcegraph/scip-java#482
This ensures that when a user uses `scip-java` with the output flag like: ``` scip-java index --output dump.lsif ``` Then this gets forwarded to Mill to ensure it creates an lsif file not a scip one. refs: sourcegraph#482
Hi! First of all, thanks for building great tools.
I'm trying out a private Sourcegraph instance. Ran an indexing round on a branch and now some of my definition searches look like this:
The definition of
AccountId
in question is in the same sbt module as the code I'm looking at. However, it still shows up as partially precise.In the Definition view, all results I see are search-based:
Could this be a configuration issue (I'm on all the defaults when it comes to generating the index) or is something wrong with scip-java?
The text was updated successfully, but these errors were encountered: