Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Support generated code for search and navigation #61468

@varungandhi-src

Description

@varungandhi-src

(NOTE: This is an idea issue, it does not imply that this will be tackled in the near future.)

Many codebases use code generation, such as when Protobuf is involved. Generally, when someone sets up precise indexing, they need to invoke the code generation step before the indexer runs so that the code can type-check correctly.

However, commonly, this generated code is not committed into the repository. Tools like Google code search make the generated code available for search and navigation. The generated code could also potentially be used for providing context for Cody web.

Support for this feature would require changes in many different sub-systems. Here's a non-exhaustive list:

  • Blob view
  • Gitserver, depending on how exactly we're storing the data.
  • Search & search results
  • Precise indexers

For simplicity, this issue is labeled team/graph, but if we were to implement this feature, it would need to have one or multiple RFCs and implementation would require a cross-functional effort.

Requested by customer 1 (question-ish for providing Cody context), a prospect (feature request), duplicate issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideateam/graphGraph Team (previously Code Intel/Language Tools/Language Platform)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions