Skip to content

# Add partial accept kind to inline completion handle - #202668

Merged
Henning Dieterichs (hediet) merged 28 commits into
microsoft:mainfrom
marrej:partial-accept-kind
Mar 4, 2024
Merged

Henning Dieterichs (hediet) merged 28 commits into
microsoft:mainfrom
marrej:partial-accept-kind

Conversation

@marrej

@marrej Marcus Revaj (marrej) commented Jan 17, 2024 •

Copy link
Copy Markdown
Contributor

1st part of the partial accept handler enrichment

This first proposal enables the metadata to be attached in the core to the partialAcceptHandler to return the Kind of partial acceptance that was triggered.

This allows for deeper understanding of user interactions, as well as filtering out specific triggers when doing post analysis (e.g. Suggest).

#195369

@marrej
Marcus Revaj (marrej) marked this pull request as draft January 17, 2024 14:34
@marrej
Marcus Revaj (marrej) marked this pull request as ready for review January 17, 2024 14:47
@marrej
Marcus Revaj (marrej) marked this pull request as draft January 17, 2024 15:01
@hediet

Copy link
Copy Markdown
Member

[eslint ] [16:52:03] /mnt/vss/_work/1/s/src/vs/workbench/api/common/extHostTypeConverters.ts: line 2406, col 4, Warning - Missing semicolon. (@typescript-eslint/semi)

@marrej
Marcus Revaj (marrej) marked this pull request as ready for review January 17, 2024 19:20
@marrej

Copy link
Copy Markdown
Contributor Author

[eslint ] [16:52:03] /mnt/vss/_work/1/s/src/vs/workbench/api/common/extHostTypeConverters.ts: line 2406, col 4, Warning - Missing semicolon. (@typescript-eslint/semi)

Sorry for the early ping, I tried to keep the PR in draftmode but you already got assigned. The issues should be resolved now :)

@marrej

Marcus Revaj (marrej) commented Jan 19, 2024 •

Copy link
Copy Markdown
Contributor Author

Reworked the API (original proposed changes), to allow easy onboarding of new users (wouldn't cause breakage when released with extensions).

@marrej

Copy link
Copy Markdown
Contributor Author

Hey Bhavya U (@bhavyaus) , Is there any additional changes that you would like me to add to the PR?

Also if I may be so bold to ask, why did you add the PartialAcceptInfo directly to the proposed API. Is it because the proposed APIs can break current extension implementations and are experimental only?

@bhavyaus

Bhavya U (bhavyaus) commented Jan 29, 2024 •

Copy link
Copy Markdown
Collaborator

Hey Bhavya U (@bhavyaus) , Is there any additional changes that you would like me to add to the PR?

Apologies. I was performing endgame testing. Ignore my previous comment.

Hey Bhavya U (@bhavyaus) , Is there any additional changes that you would like me to add to the PR?

Also if I may be so bold to ask, why did you add the PartialAcceptInfo directly to the proposed API. Is it because the proposed APIs can break current extension implementations and are experimental only?

Justin Chen (@justschen) , could you please help take a look.

# Conflicts:
#	src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.ts
#	src/vs/editor/standalone/browser/standaloneLanguages.ts
#	src/vs/workbench/api/common/extHost.api.impl.ts
#	src/vs/workbench/api/common/extHostTypeConverters.ts
@hediet
Henning Dieterichs (hediet) merged commit 0bfc1db into microsoft:main Mar 4, 2024
易良 (yiliang114) pushed a commit to yiliang114/vscode that referenced this pull request Mar 6, 2024
* # Add partial accept kind to inline completion handle

---------

Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
@microsoft Microsoft (microsoft) locked and limited conversation to collaborators Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants