Skip to content
Snippets Groups Projects
Open Precise code intelligence for Protobuf
  • View options
  • Precise code intelligence for Protobuf

  • View options
  • Open Issue created by Warren Gifford

    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.

    0 of 3 checklist items completed
    • Merge request
    • Branch

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first