3 ms·
Sourcegraph has experimental C/C++ support. Emphasis on experimental. It uses the best C/C++ language server (based on the Language Server Protocol) we could fi
by sqs 8y ago
Sourcegraph 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).