-
Notifications
You must be signed in to change notification settings - Fork 0
feat: VRL Monaco editor intelligence — autocomplete, hover docs, signature help #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b863406
feat(vrl): add theme colors for VRL language tokens
TerrifiedBug f234ad3
feat(vrl): add Monarch language definition for VRL syntax highlighting
TerrifiedBug 3d9a1a0
feat(vrl): add function registry with 141 VRL functions and AI refere…
TerrifiedBug 9c735c3
refactor(ai): replace static VRL reference with registry-based builder
TerrifiedBug 911b2d1
feat(vrl): register VRL language in Monaco with syntax highlighting
TerrifiedBug 57ddd34
feat(vrl): add function autocomplete with category badges and paramet…
TerrifiedBug 2ad1a6a
feat(vrl): add hover documentation for VRL functions
TerrifiedBug c35ec08
fix(vrl): handle first-character hover edge case in word extraction
TerrifiedBug 258b969
feat(vrl): add signature help with parameter hints for VRL functions
TerrifiedBug f4ebfbb
chore(vrl): add explicit types to Monaco provider callbacks to fix no…
TerrifiedBug 599c85b
fix(vrl): correct hover word extraction for digits in function names
TerrifiedBug File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signature help limited to single-line function calls
provideSignatureHelponly inspects the content of the cursor's current line:When a VRL function call spans multiple lines — e.g. the opening
(is on a previous line —textBeforeon the argument line will never contain an unclosed(, sofuncEndstays-1and the provider returnsnull. Signature hints won't appear for arguments typed on any line after the one containing the opening parenthesis.For a v1 this is acceptable, but worth noting for a follow-up. A fix would walk backwards through previous lines when no unclosed
(is found on the current line.Prompt To Fix With AI