Skip to content

Add LSP completion for CEL expressions#4358

Merged
stefanvanburen merged 1 commit intomainfrom
svanburen/cel-completion
Feb 27, 2026
Merged

Add LSP completion for CEL expressions#4358
stefanvanburen merged 1 commit intomainfrom
svanburen/cel-completion

Conversation

@stefanvanburen
Copy link
Member

This adds contextual completion for CEL expressions for protovalidate, in the same spirit as our completion approach for protobuf.

I strongly suggest reviewing this by also installing this branch locally and trying out the completion in the testcases, to see how it feels to use locally.

This adds contextual completion for CEL expressions for
protovalidate, in the same spirit as our completion approach for
protobuf.

I strongly suggest reviewing this by also installing this branch locally
and trying out the completion in the testcases, to see how it feels to
use locally.
@github-actions
Copy link
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedFeb 26, 2026, 8:05 PM

@stefanvanburen stefanvanburen marked this pull request as ready for review February 26, 2026 20:08
Copy link
Contributor

@emcfarlane emcfarlane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well! Went through and tested some simple completions. Minor issue: completions for in complete to a function call in(), should just be membership test (this in that).

@stefanvanburen
Copy link
Member Author

Minor issue: completions for in complete to a function call in(), should just be membership test (this in that).

cool, I will follow up with a fix for that. thanks for checking it out!

@stefanvanburen stefanvanburen merged commit 0750271 into main Feb 27, 2026
12 checks passed
@stefanvanburen stefanvanburen deleted the svanburen/cel-completion branch February 27, 2026 15:17
stefanvanburen added a commit that referenced this pull request Feb 27, 2026
[Caught][1] by @emcfarlane in #4358. Fixes the issue and adds a test.

[1]: #4358 (review)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants