4 ms·
Very cool! Does it have C or C++ support? Last time I looked it didn't. Something that understands Python calls into C and vice versa would be interesting to
by chubot 8y ago
Very cool! Does it have C or C++ support? Last time I looked it didn't.
Something that understands Python calls into C and vice versa would be interesting to me as well.
- sqs 8y agoSourcegraph has experimental C/C++ support. Emphasis on experimental. It uses the best C/C++ language server (based on the Language Server Protocol) we could find, but that still struggles with some codebases. You can try it on any open-source C/C++ file on Sourcegraph.com before you spin up a self-hosted instance for your own code, such as: https://sourcegraph.com/github.com/antirez/redis/-/blob/src/expire.c#L60:9 https://sourcegraph.com/github.com/antirez/redis/-/blob/src/... Here is more info on using C/C++ on Sourcegraph (and an animated GIF): https://github.com/sourcegraph/lsp-adapter/tree/master/dockerfiles/cpp https://github.com/sourcegraph/lsp-adapter/tree/master/docke...
- romed 8y agoThat seems to have a lot of rough edges. For me, when browsing C++, there is exactly 1 killer feature: find callers. I recently deployed Kythe just to get this and it took many hours of my time. I would love to have something a little easier to maintain (that works, though).
- robinshen 8y agoOneDev developer here. OneDev is a self-hosted git server and it provides symbol cross referencing for main stream languages including Java, JavaScript, CSharp, C, C++, PHP, Go, Python, R, CSS, LESS, SCSS. Taking linux project for example: https://go.onedev.io/projects/linux/blob/master/tools/lguest/lguest.c?mark=2967.2-2967.15 https://go.onedev.io/projects/linux/blob/master/tools/lguest...