Skip to content

feat: add postfix completions - #541

Merged
JalonSolov merged 4 commits into
vlang:masterfrom
metif12:master
Oct 8, 2026
Merged

JalonSolov merged 4 commits into
vlang:masterfrom
metif12:master

Conversation

@metif12

@metif12 metif12 commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Adds postfix completion support to VLS.

- Add postfix_completions() with .if, .match, .for, .ptr, .unwrap
- All postfix completions use snippet format (insert_text_format: 2)
- Hook into indexed_completions general completion path
- Add 9 tests for postfix completions
@JalonSolov

Copy link
Copy Markdown
Contributor

Need to run v fmt -w on handlers.v

@JalonSolov

Copy link
Copy Markdown
Contributor

Lots of problems reported in postfix_test.v

@JalonSolov
JalonSolov merged commit 95aadfd into vlang:master Oct 8, 2026
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