2 ms·
Not starlark files but code intel in a Go/C++/Java monorepo managed using Bazel. There’s an open ticket suggesting it’s not supported yet? https://github.com/s
by dilyevsky 4y ago
Not starlark files but code intel in a Go/C++/Java monorepo managed using Bazel. There’s an open ticket suggesting it’s not supported yet?
https://github.com/sourcegraph/sourcegraph/issues/2982 https://github.com/sourcegraph/sourcegraph/issues/2982
- beyang 4y agoHmm, I think we might need to update that ticket. Here's some docs on Bazel support for Java/Scala precise code nav: https://sourcegraph.github.io/scip-java/docs/getting-started.html#bazel https://sourcegraph.github.io/scip-java/docs/getting-started.... Any languages you're looking for in particular?
- dilyevsky 4y agoGo (rules_go) and C++ primarily
- typesanitizer 4y agoFor C++, we do support Bazel via compile_commands.json; we have customers who have used it successfully. Depending on the editor you're using, you probably need to get Bazel to generate a compile_commands.json anyways. So core code navigation functionality ought to work. There are some issues with different language features (macros, newer C++17 and C++20 features), as well as robustness (crashes on indexing certain code) but we're looking into bringing C++ support up to par with other languages.