Skip to content

Support complex completions that rewrite the source document#304

Merged
waf merged 1 commit into
mainfrom
support-complex-completions
Jun 28, 2026
Merged

Support complex completions that rewrite the source document#304
waf merged 1 commit into
mainfrom
support-complex-completions

Conversation

@waf

@waf waf commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Support complex completions, where "complex" means they rewrite the source document rather than just inserting the selected completion text.

This will be used to fix waf/CSharpRepl#97

@codecov

codecov Bot commented Jun 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.47619% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.6%. Comparing base (7dd3051) to head (9efaba4).

Files with missing lines Patch % Lines
src/PrettyPrompt/Completion/CompletionEdit.cs 80.0% 0 Missing and 1 partial ⚠️
src/PrettyPrompt/Completion/CompletionItem.cs 85.7% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main    #304     +/-   ##
=======================================
+ Coverage   86.5%   86.6%   +0.1%     
=======================================
  Files         47      48      +1     
  Lines       4096    4116     +20     
  Branches     679     683      +4     
=======================================
+ Hits        3546    3568     +22     
+ Misses       384     381      -3     
- Partials     166     167      +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@waf waf merged commit c94b394 into main Jun 28, 2026
3 checks passed
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.

Invalid 'complex' completion insertion

1 participant