Skip to content

feat: support InlineCompletionItemProvider.handleDidShowCompletionItem API#2799

Merged
erha19 merged 4 commits intomainfrom
feat/support-handleDidShowCompletionItem-api
Jun 15, 2023
Merged

feat: support InlineCompletionItemProvider.handleDidShowCompletionItem API#2799
erha19 merged 4 commits intomainfrom
feat/support-handleDidShowCompletionItem-api

Conversation

@erha19
Copy link
Copy Markdown
Member

@erha19 erha19 commented Jun 12, 2023

Types

  • 🎉 New Features

Background or solution

🤖 Generated by Copilot at 0a53858

  • Add classes for inline suggestions in the editor (link, link)
  • Add spaces between Chinese characters and @ symbol in comments and localization strings (link, link)

Changelog

🤖 Generated by Copilot at 0a53858

This pull request adds support for inline suggestions in the editor, by implementing the vscode.InlineCompletionItem and vscode.InlineCompletionList interfaces. It also fixes some minor spacing issues in comments and localization strings.

@opensumi opensumi Bot added 🎨 feature feature required 🐞 bug Something isn't working labels Jun 12, 2023
@erha19
Copy link
Copy Markdown
Member Author

erha19 commented Jun 13, 2023

/next

@erha19 erha19 changed the title WIP: feat: support InlineCompletionItemProvider.handleDidShowCompletionItem API feat: support InlineCompletionItemProvider.handleDidShowCompletionItem API Jun 13, 2023
@opensumi
Copy link
Copy Markdown
Contributor

opensumi Bot commented Jun 13, 2023

🎉 PR Next version 2.25.1-next-1686628936.0 publish successful! You can install this version via npm install package@2.25.1-next-1686628936.0

2.25.1-next-1686628936.0

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 13, 2023

Codecov Report

Patch coverage: 15.38% and project coverage change: -0.03 ⚠️

Comparison is base (4033de3) 57.69% compared to head (f5abc83) 57.67%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2799      +/-   ##
==========================================
- Coverage   57.69%   57.67%   -0.03%     
==========================================
  Files        1336     1336              
  Lines       83866    83883      +17     
  Branches    17432    17439       +7     
==========================================
- Hits        48388    48378      -10     
- Misses      32248    32270      +22     
- Partials     3230     3235       +5     
Flag Coverage Δ
jsdom 52.69% <15.38%> (-0.03%) ⬇️
node 16.79% <15.38%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...tension/src/hosted/api/vscode/ext.host.api.impl.ts 91.95% <ø> (ø)
...tension/src/hosted/api/vscode/ext.host.language.ts 45.11% <ø> (ø)
...src/hosted/api/vscode/language/inlineCompletion.ts 8.95% <0.00%> (-0.42%) ⬇️
packages/i18n/src/common/zh-CN.lang.ts 100.00% <ø> (ø)
packages/extension/src/common/vscode/ext-types.ts 50.59% <22.22%> (-0.19%) ⬇️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@erha19
Copy link
Copy Markdown
Member Author

erha19 commented Jun 13, 2023

支持类 Copilot 场景下的代码补全能力
image

@erha19 erha19 merged commit 0e85c94 into main Jun 15, 2023
@erha19 erha19 deleted the feat/support-handleDidShowCompletionItem-api branch June 15, 2023 06:12
Ricbet pushed a commit that referenced this pull request Jun 20, 2023
…m API (#2799)

* chore: add InlineCompletionItem and InlineCompletionList type

* chore: fix some typo

* chore: add vscode.proposed.inlineCompletionsAdditions.d.ts

* feat: support handleDidShowCompletionItem function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working 🎨 feature feature required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants