Precise code intelligence for Protobuf
View options
- Truncate descriptions
Created by: olafurpg
Currently, Sourcegraph does not support precise code intelligence for Protobuf files. We have validated an approach to accomplish this in a way so that cross-language navigation between *.proto
files and the generated Protobuf files works as well. This means that "Go to definition" from Go/Java programs will be able to jump to the original *.proto
file instead of the generated programs. Likewise, "Find references" on Protobuf symbols will be able to show usages from Go/Java programs.
The approach we have validated works by post-processing the generated LSIF files from lsif-go and lsif-java. Currrently, post-processing LSIF is quite awkward so we're investigating solutions to improve that before shipping Protobuf support.
- Enable Protobuf support for lsif-go
- https://github.com/sourcegraph/lsif-java/issues/363
- Enable Protobuf support for lsif-node

