Skip to content

Language server/completion engine #1257

@YangchenYe323

Description

@YangchenYe323

Feature request checklist

  • There are no issues that match the desired change
  • The change is large enough it can't be addressed with a simple Pull Request
  • If this is a bug, please file a Bug Report.

Change
Summary of the proposed change and some details about what problem
it helps solve.

We use CEL extensively as our user-facing query language, and we implemented custom harnesses that creates env based on db schema and turn the AST into sql queries. A big challenge is to document and guide users to a brand new project/environment, with different fields and different extensions.

Since everything the user needs is already in the environment, I think it'd be great if we can take the environment and allow the user to navigate by tab completion. Would it be considered in scope of this project to accept work on building the compiler/type checker infrastructure to support such use cases? I'm happy to work on it, and would also appreciate some guidance on where to start, potential challenges, or it is fundamental impossible.

Example
Replace this text with an example indicating the desired functionality.

Alternatives considered
Briefly list alternative designs, or an example of the functionality to be replaced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions