News for hackers. Stuff that matters.
Re:Code Search Is Hard by mechanicker on Thursday April 11, 2024 @10:44AM (#40002768)
I hope this and SCIP becomes a standard and we have more programming languages emitting symbols in SCIP format.
Re:Code Search Is Hard by mdaniel on Thursday April 11, 2024 @11:50AM (#40003536)
I thought SCIP got promoted into https://lsif.dev/ but chasing the https://github.com/sourcegraph/lsif-java link resolves to https://github.com/sourcegraph/scip-java so maybe I had the evolution relationship backward. Anyway, I'm thankful at least that code is still Apache 2

https://github.com/topics/lsif may interest this audience, too, since the scip topic tag seems to clash with something else

Also, I learned last night that GitLab embraces LSIF, too https://docs.gitlab.com/ee/topics/autodevops/stages.html#aut...

Re:Code Search Is Hard by __float on Thursday April 11, 2024 @04:37PM (#40006555)
SCIP is an evolution of LSIF, basically: https://sourcegraph.com/blog/announcing-scip
Re:Code Search Is Hard by ivanovm on Thursday April 11, 2024 @03:20PM (#40005790)
My, and my friends experiences with SCIP indexers built by Sourcegraph have been less than stellar. They are buggy and sparsely maintained
[dead]
Re:Code Search Is Hard by ivanovm on Sunday April 14, 2024 @01:24PM (#40032684)
Hey guys, it's been over two months since I've been in the weeds with SCIP so I'm not going to be able to write very detailed issues, most of my experiences were with scip python and some in typescript.

1. roles incorrectly assigned to symbol occurences

2. symbols missing - this is a big one. I've seen many instances of symbols being included in "relationships" array that were not included in "symbols" array for the document, and vice versa. Plus "definition" occurrences have been inconsistent/confusing - only some symbols have those, and they don't always match where the thing is actually defined (file/position), and sometimes a definition occurrence has no counterpart in symbols array

3. the treatment of external packages have been inconsistent, they sometimes get picked up as internal definitions and sometimes not

I think SCIP is a great idea and I'd explore using it again if it got better. But I see that there are issues staying in the backlog for 6+ months which makes it seem from the outside like Sourcegraph is not prioritizing further development of scip

Re:Code Search Is Hard by mmanela on Tuesday April 16, 2024 @10:57AM (#40052808)
Thanks for the details. I appreciate you taking the time to give the feedback. We will use this to help to improve SCIP and the indexers.
Re:Code Search Is Hard by mmanela on Friday April 12, 2024 @04:33PM (#40017359)
I work at Sourcegraph and would love to learn more.

1. Which SCIP indexers did you having issues with?

2. What issues did you hit (can you share details or link to GitHub issues filed?)

Thanks!